control-toolbox / control-toolbox/CTParser.jl

[Dev] Stricter parsing

Open
#193 0 comments 0 reactions 1 assignee Claimed by @jbcaillau View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.