Re: [racket-users] Can someone help me understand why my tokenizer (made with Brag) doesn't work?

2019-09-24 Thread Cistian Alejandro Alvarado Vázquez
I do understand why any-char wouldn't work. Thanks! I don't really understand why :seq didn't work, maybe because I want to require one or more chars (thus :+)? Anyway, it works now! Thanks a lot! You're a legend. On Tuesday, 24 September 2019 00:57:17 UTC-5, Matthew Butterick wrote: > > > On

Re: [racket-users] Can someone help me understand why my tokenizer (made with Brag) doesn't work?

2019-09-23 Thread Matthew Butterick
> > On 23 Sep 19, at 9:10 PM, Cistian Alejandro Alvarado Vázquez > wrote: > > Can anyone help me understand how my tokenizer should work? I'm truly truly > lost and reading the documentation has only added to my confusion! What your parser parses is a sequence of tokens. If you don't pass

[racket-users] Can someone help me understand why my tokenizer (made with Brag) doesn't work?

2019-09-23 Thread Cistian Alejandro Alvarado Vázquez
I'm trying to parse a simple subset of SQL and failing massively. I made a grammar which works, but have no idea how to get my tokenizer to work and I find the documentation very difficult to parse (ho ho ho). My code along with explanations can be found on this StackOverflow question: