hime
hime copied to clipboard
Add this token in last line. `context c { ANY-> .+ ; }` lexer will generate a token of full input text even no rule enable context c.
For #105
It seems like e48e2179261140276a8c432fb89068e4f1961096 introduced a regression bug in NFA generation: ``` grammar C { options { Axiom = "translation_unit"; Separator = "SEPARATOR"; } terminals { // A.1.1 Line terminators...
This PR implements part of the idea expressed here: [https://github.com/cenotelie/hime/issues/88#issuecomment-1761391207](https://github.com/cenotelie/hime/issues/88#issuecomment-1761391207) > I have another obscure idea I can't express clearly (I'm not sure if that's novel or not) that if...
Hi , I updated my Himecc from v3.5.1 to last stable version v4.2.4. But my grammar cannot be compiled with this version , it's blocking forever. [Poolit.zip](https://github.com/cenotelie/hime/files/13206022/Poolit.zip) Regards,
Hi, I think the `--test` mode of `himecc` doesn't work properly. Using this trivial grammar file: ``` grammar Test { options { Axiom = "expression"; } terminals { A ->...
Looking through https://cenotelie.fr/projects/hime/edition I noticed that this links are dead: - https://cenotelie.fr/releases/Notepadpp_Grammar.xml - https://cenotelie.fr/releases/gtk2_hgram.lang - https://cenotelie.fr/releases/gtk3_hgram.lang Also I've added the `hime` grammar to https://mingodad.github.io/parsertl-playground/playground/ an `Yacc/Lex` compatible online editor/tester (select...
Wouldn't it be nice if we could do: ``` for_statement -> 'for'! '('! initial=(expression_statement | declaration) condition=expression_statement post_operation=expression? ')'! body=statement; ``` Instead of: ``` for_statement_initial -> expression_statement | declaration; for_statement_condition...
Consider an XML file: ``` ``` And this: ``` ``` Clearly the latter is wrong. Right now there is no way to add tags with regards to context sensitive rules...
Things like **XID\_Start and XID\_Continue** are missing, and those are conventional way to make valid Unicode identifiers. [UAX #31: Unicode Identifiers and Syntax](https://unicode.org/reports/tr31/)