A library and language for building parsers, interpreters, compilers, etc

Incercam sa-mi fac un DSL pt. a scrie React components (basically a small language syntax) si cautam tools sa ma ajute la parsing / compiling. Dupa cateva ore de github test drive am gasit ohm, care mi se pare foarte folositor so far.

harc/ohm – A library and language for building parsers, interpreters, compilers, etc. [demo]

3 Likes

related: avoid regexes - replace them with a simple parser

http://blog.honeybadger.io/replacing-regular-expressions-with-parsers

Desi nu imi amintesc ultima data cand am folosit un regex atat de complex - dar este totusi o alternativa eleganta la regexes si cu un grad de readability mult mai mare.

2 Likes

Parsing In C#: Tools And Libraries

1 Like

Finite state machine.