Skip to content

[Dev] Stricter parsing #193

@jbcaillau

Description

@jbcaillau
  • after replace_call, left symbols for x (state) and control (u) are necessarily typos
  • they don't error at parse, and might not generate runtime errors if such variables are defined in the calling env

Fix: after replace_call, replace all state and controls symbols by a gensym (will error at runtime); better: if expression has state or control, it must be an error (should be checked at every line)

Metadata

Metadata

Assignees

Labels

internal devModification to the code is requested and should not affect user experiment

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions