Commit Graph

8 Commits

Author SHA1 Message Date
804a00902a feat: Type-dependent Haskell code generation
Some checks failed
continuous-integration/drone/push Build is failing
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).
2021-02-16 09:46:12 -08:00
5cd75b8177 feat: Initial statix assignment of types to expressions
Some checks failed
continuous-integration/drone/push Build is failing
2021-02-14 10:25:23 -08:00
b9c8532899 feat: Allow expressions to be terminated/sequenced by ;
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Note that ultimately a terminated sequence may have
   a slightly different semantics (applying streams
   to `_|_`, most likely) but for now they don't.
2021-02-10 12:47:34 -08:00
991976d3a8 feat: sequencing of expressions with newline to same indent (#11)
All checks were successful
continuous-integration/drone/push Build is passing
feat: sequencing of expressions with newline to same indent

  Also revised README to reflect greater emphasis on streams.
  Haskell code generation unsurprisingly required a fairly significant
  rework.

  Resolves #3.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #11
Co-Authored-By: Glen Whitney <glen@nobody@nowhere.net>
Co-Committed-By: Glen Whitney <glen@nobody@nowhere.net>
2021-02-06 05:11:41 +00:00
eaa06e62eb feat: Allow indented continuation lines
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
Resolves #2.
2021-02-01 00:29:00 -08:00
2e49065031 feat: Implement enters operator >> (#8)
All checks were successful
continuous-integration/drone/push Build is passing
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: #8
Co-Authored-By: Glen Whitney <glen@nobody@nowhere.net>
Co-Committed-By: Glen Whitney <glen@nobody@nowhere.net>
2021-02-01 01:46:31 +00:00
527f802793 docs: Get mkdocs working
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-30 19:48:03 -08:00
7b00b01856 chore: Switch to this repository from predecessor
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-30 15:37:53 -08:00