IN RELATED NEWS I would flat-out marry someone who added a case-insensitive modifier to Antlr 4's grammar.
-
-
Replying to @puredanger
@puredanger Yeah, like why is this not a thing? Writing out every word in terms of single-character lexer fragments :( cc@the_antlr_guy2 replies 0 retweets 0 likes -
Replying to @aphyr
@aphyr@puredanger haha! I never have to deal with case insensitive languages myself. What is simplest approach? lexer level? literal level?2 replies 0 retweets 0 likes -
Replying to @the_antlr_guy
@the_antlr_guy@puredanger I'd love to write someting like 'foo'i and have it expand to [Ff] [Oo] [Ii]; either in the lexer or parser.1 reply 0 retweets 0 likes -
Replying to @aphyr
@aphyr@puredanger maybe different quotations like `foo` for case insensitivity?1 reply 0 retweets 0 likes -
Replying to @the_antlr_guy
@the_antlr_guy@puredanger Sounds good to me! I could also work with an grammar option for case sensitivity, like ANTLR 2 had.2 replies 0 retweets 0 likes
@aphyr @the_antlr_guy @puredanger Some require case consistency. A means to control would be great...
-
-
Replying to @darachennis
@darachennis@aphyr@puredanger For case consistency, I would say 'foo'|'FOO' is probably ok.0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.