control-toolbox / control-toolbox/CTParser.jl
[Dev] Stricter parsing
Open
internal dev
- Dominant language
- Julia
- Stars
- 3
- Forks
- 0
- Avg merge
- 4h 22m
- Merged PRs (30d)
- 2
Description
- 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)
Contributor guide
Assessment
This issue has not been assessed yet.