idea: READ should be parametrized by a list of regexes mapping to a procedure to build the object for the lexical tokens.

The most basic read with no tokens added would just parse things like () (()()) etc.

Follow

READ should be a left inverse of WRITE, but READ would also have an option to produce an annotated AST containing filenames and line numbers

Sign in to participate in the conversation
niu.moe

Welcome to your niu world ! We are a cute and loving international community O(≧▽≦)O !