Skip to content

Conversation

@tanyongkiam
Copy link
Contributor

Replace old syntax patterns with modern Quote syntax:

  • val _ = (append_prog o process_topdecs) ...Quote add_cakeml: ... End
  • val _ = (append_prog o cfTacticsLib.process_topdecs) ...Quote add_cakeml: ... End
  • val name = process_topdecs ...Quote name = cakeml: ... End
  • val name = cfTacticsLib.process_topdecs ... |> opsQuote name_ast = cakeml: ... End + val name = name_ast |> ops
  • Fix existing Quote cakeml:Quote name = cakeml: (add missing identifiers)

This modernizes the codebase to use the cleaner Quote syntax as requested in issue #1263.

Files converted (37 instances total):

  • candle/overloading/ml_checker/ml_cyclicityCheckerProgScript.sml (14)
  • characteristic/cfDivScript.sml (3)
  • characteristic/examples/cf_examplesScript.sml (1)
  • characteristic/examples/cf_tutorialScript.sml (modifications)
  • compiler/bootstrap/translation/compiler32ProgScript.sml (modifications)
  • compiler/bootstrap/translation/compiler64ProgScript.sml (2)
  • compiler/bootstrap/translation/reg_allocProgScript.sml (modifications)
  • compiler/dafny/translation/dafny_compilerProgScript.sml (1)
  • compiler/scheme/translation/scheme_compilerProgScript.sml (1)
  • examples/deflate/translation/*.sml (4 files)
  • examples/replProgScript.sml (2)
  • examples/sat_encodings/translation/*.sml (5 files)
  • examples/template/translation/example_funsProgScript.sml (1)

🤖 Generated with Claude Code

Replace old syntax patterns with modern Quote syntax:
- `val _ = (append_prog o process_topdecs) ...` → `Quote add_cakeml: ... End`
- `val _ = (append_prog o cfTacticsLib.process_topdecs) ...` → `Quote add_cakeml: ... End`
- `val name = process_topdecs ...` → `Quote name = cakeml: ... End`
- `val name = cfTacticsLib.process_topdecs ... |> ops` → `Quote name_ast = cakeml: ... End` + `val name = name_ast |> ops`
- Fix existing `Quote cakeml:` → `Quote name = cakeml:` (add missing identifiers)

This modernizes the codebase to use the cleaner Quote syntax as
requested in issue #1263.

Files converted (37 instances total):
- candle/overloading/ml_checker/ml_cyclicityCheckerProgScript.sml (14)
- characteristic/cfDivScript.sml (3)
- characteristic/examples/cf_examplesScript.sml (1)
- characteristic/examples/cf_tutorialScript.sml (modifications)
- compiler/bootstrap/translation/compiler32ProgScript.sml (modifications)
- compiler/bootstrap/translation/compiler64ProgScript.sml (2)
- compiler/bootstrap/translation/reg_allocProgScript.sml (modifications)
- compiler/dafny/translation/dafny_compilerProgScript.sml (1)
- compiler/scheme/translation/scheme_compilerProgScript.sml (1)
- examples/deflate/translation/*.sml (4 files)
- examples/replProgScript.sml (2)
- examples/sat_encodings/translation/*.sml (5 files)
- examples/template/translation/example_funsProgScript.sml (1)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@tanyongkiam
Copy link
Contributor Author

trying this out... let's see how well it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants