Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntactic grammar improvements #93

Closed
2 tasks
Tracked by #70
mopichalova opened this issue Jan 31, 2024 · 2 comments
Closed
2 tasks
Tracked by #70

Syntactic grammar improvements #93

mopichalova opened this issue Jan 31, 2024 · 2 comments

Comments

@mopichalova
Copy link
Collaborator

mopichalova commented Jan 31, 2024

  • order of individual sections (rules, inits, etc) should be arbitrary
  • require all parts to be separated by newlines - for example, rules can all be specified inline, which is not desired behaviour and can cause weird syntactic constructs
@mopichalova mopichalova mentioned this issue Jan 31, 2024
13 tasks
@mopichalova mopichalova changed the title require all parts to be separated by newlines - for example, rules can all be specified inline, which is not desired behaviour and can cause weird syntactic constructs Syntactic grammar improvements Jan 31, 2024
@xtrojak
Copy link
Collaborator

xtrojak commented Feb 2, 2024

In addition to requiring newlines in particular positions, it would be nice to achieve also the opposite - currently, it's possible to write newline in the middle of writing a structure agent (as an example). However, I was unable to find how to avoid this in lark.

@xtrojak
Copy link
Collaborator

xtrojak commented Feb 27, 2024

Fixed in #94.

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

No branches or pull requests

2 participants