You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been working on an Iro grammar for my FOSS project.
It is a combination of JS, JSON and some custom syntax.
The definition works OK in Iro's web editor (screenshot below):
However, when I run the same in iro4cli (after fixing various minor errors/warnings), I get the following Runtime unhandled exception:
[WARN] Compile - Some top-level flags are missing and/or not implemented yet.
Unhandled exception. System.NotImplementedException: The method or operation is not implemented.
at iro4cli.Compile.Compiler.ProcessContext(String contextName, IroSet context, IroSet contexts)
at iro4cli.Compile.Compiler.Compile(Dictionary`2 vars, ICompileTarget[] targets)
at iro4cli.Program.Run(IroCLIOptions opts)
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
at iro4cli.Program.Main(String[] args)
Aborted (core dumped)
Presently, I am able to get the generated outputs from the web-editor. However, it'll be really great to know your thoughts on why the particular grammar might be failing.
Hi @shrsv, I've just posted a pre-release version of a build that should fix this issue. If you could try it out and let me know if there are any remaining/new issues, that would be very helpful. Hope this helps!
Activity
Add initial global push handling support (#9).
c272 commentedon Jan 25, 2023
Hi @shrsv, thank you for bringing this to my attention.
I've found the root cause of the issue and I'll push a patch for this in the next few days.
Add TextMate push handling (#9)
c272 commentedon Jan 31, 2023
Hi @shrsv, I've just posted a pre-release version of a build that should fix this issue. If you could try it out and let me know if there are any remaining/new issues, that would be very helpful. Hope this helps!
https://github.com/c272/iro4cli/releases/tag/v0.4.1-rc1
shrsv commentedon Jan 31, 2023
@c272 - Just tested it out;
irosuccessfully generated Textmate plist from my grammar file. Looks like it's working. Thanks for the fix :)Add plain push handling: c272/push-handling (#10)