/c_json_lexer_functional

a toy functional lexer for JSON written in C using channels / threads ala rob pike

Primary LanguageC

Functional threaded JSON lexer in C

Inspired by rob pikes design. Note that this is a toy project so it may jave bugs, but I think it's an interesting example of an alternative method for building a lexer.

Build

use the included shell script ./mk.sh

Run

invoke as ./a.out sample.json

References

See Rob Pike's talk Lexical Scanning in Go