syntax icon indicating copy to clipboard operation
syntax copied to clipboard

Project name is so very hard to search on internet!

Open mohsen1 opened this issue 9 years ago • 3 comments

I know it's an odd issue but it took me 30 minutes to find this project! Finally recovered it from my GitHub stars.

P.S. Trying to write a brand new YAML parser with this. Do you have any recommendations?

mohsen1 avatar Jan 02 '17 22:01 mohsen1

@mohsen1, absolutely valid point on the project name! Thanks for pointing this out. I'm potentially opened to renaming the project to a searchable name (it'd be great if it'll combine in it "language agnostic", and "parser generator"). The lapp was one of the initial alternatives -- "language agnostic parser processor". If you have good ideas for the name, please let me know ;)

I'll keep this issue opened until we'll find a well-searchable name.

P.S. as for YAML, I didn't work with it closely, but should be doable as an LALR(1). I'd start with the official spec for it. There are also some examples online combining the spec, you can try porting it to Syntax. Start from the lexical grammar, and very basic blocks first: i.e. implement a node for a Stream, going down to list of Documents in a stream, etc.

To keep this issue for the project name only, let's move YAML discussion to a separate thread -- you can mail me in case, I'll be glad to help.

See this example on how to handle blocks based on indentation, and its levels. And also the example with explicit INDENT/DEDENT tokens like in Python.

DmitrySoshnikov avatar Jan 03 '17 07:01 DmitrySoshnikov

lapgen?

RobertSzefler avatar Apr 25 '18 08:04 RobertSzefler

The lapgen sounds interesting :) After fixing the #52, which is crucial, I'll probably consider doing an alternative name.

DmitrySoshnikov avatar Apr 25 '18 17:04 DmitrySoshnikov