Skip to content

Conversation

@halogentlepersuasion
Copy link
Contributor

  • Extends the static checking (and associated tests) with various errors related to shapes, as well as a couple of non-shape checks enabled by those changes (see pancake/panStaticScript.sml header comment for full list)
  • Shape annotations now expected for all variable declarations, function arguments and function returns to enable checking
    • If no shape is given, parser assumes shape is 1, so most existing pancake code should still compile
    • Dec constructor and Function record extended to include shape

Halogen Truong added 21 commits August 21, 2025 17:57
…ser & make all shape declarations optional with default One (up to panConcreteExamples)
…n type and finished checks for global decls (+minor style updates)
@myreen myreen merged commit 5c1abe0 into CakeML:master Aug 26, 2025
1 check passed
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