I have an input file with multiple lines and fields separated by space. My definition files are: scanner.xrl: Definitions. DIGIT = [0-9] ALPHANUM = ...
I have an input file with multiple lines and fields separated by space. My definition files are: scanner.xrl: Definitions. DIGIT = [0-9] ALPHANUM = ...
maybe it’s not the way to go, but this was my initial guess and I'm open to hints and corrections. I have been writing a parser for a reduced query d ...
Looking thru the documentation for leex, I don't see an example of matching exactly N elements, like (element){n}? This fails: The work around is ...
I am in the initial design phase of implementing a jinja2-like template language for Elixir. I had been inclined to writer the lexer by hand, but I ha ...
I'm trying to create a very simple DSL that takes a string formatted like And turn it to something along the lines of My Leex file is this: ...
According to the leex documentation ^ Matches the beginning of a string. But when I try to use it in a pattern such as ^[^\s\t-:]+[^:].*$ I get ...
I'm trying to implement a small description language for user scripting in an application. Basically users describe how objects are created from other ...