Caveat: type is still not being assigned for the Sequence()
constructor.
Also fixes the parsing of literal strings (whitespace just after
the opening quote was being ignored, and was ambiguous just
before the opening quote).
Also rudimentary code generation. The difficulty
is that for Haskell generation, we need to know
whether an expression is a string or in to send it
to standard output. So we will need to begin
implementation of a type system for fostr.
Also adds parenthesization of fostr expressions.
Recasts code generation in terms of bottomup processing
of a local strategy.
Resolves#1.
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: glen/fostr#8
Co-Authored-By: Glen Whitney <glen@nobody@nowhere.net>
Co-Committed-By: Glen Whitney <glen@nobody@nowhere.net>