zenspider
2019-4-17 22:15:24

@mike.castillo.jr is comment actually part of your grammar? why? What happens if you remove it and set your lexer to set #:skip? t on them? Do you still lose your position info?


mike.castillo.jr
2019-4-17 22:38:01

Skipping comments removes the whole line from the parse (when it’s a whole line comment), but I’m not sure I want that. The language has goto and I might want to have jumps to any line (haven’t decided yet).


mike.castillo.jr
2019-4-17 22:53:17

Line comments aren’t the larger problem anyhow. If I change [p-comment] at the end to [p-number] I get the same error if I have just a single number on a line. I can put p-number under the p-statement rule and then a single number is fine.


mike.castillo.jr
2019-4-17 22:53:53

Maybe it’s not a pattern I really need (can work around), but I’d also like to understand what’s going on there.


krismicinski
2019-4-18 05:43:36

basic question I can’t find answer to by racket’s help, going through menus, or googling: can you hide scroll bars in drracket?