jison-lex icon indicating copy to clipboard operation
jison-lex copied to clipboard

Can't generate a lexer for CSS String

Open beatak opened this issue 10 years ago • 0 comments

I'm trying to implement CSS parser using Jison project. I found CSS2.1 definition here, but the lexer keeps failing and I don't know why. Here's a test case.

https://gist.github.com/beatak/0b8b29fbddc0a28ddad2

I'm new to this area and it might be me doing totally wrong, but if you could comment how to solve this (like "you're doing it wrong, read Bison intro"), that will be super appreciated. Thanks!

beatak avatar May 02 '15 00:05 beatak