Commit Graph

21 Commits

Author SHA1 Message Date
36a8790e24 Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build was killed
2022-03-28 01:10:40 +00:00
4a734815de Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-28 01:09:00 +00:00
7feddbcfbe Extraction from streams (#25)
Add the ! postfix operator and !! expression.
  Also add the ++ string concatenation operator.
  Also allow specification of standard input in the test scheme.

  Resolves #7, #18.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: glen/fostr#25
Co-Authored-By: Glen Whitney <glen@nobody@nowhere.net>
Co-Committed-By: Glen Whitney <glen@nobody@nowhere.net>
2021-03-13 19:30:23 +00:00
cc89ad1e93 Add OCaml code generation (#24)
Also start using nailgun to speed up code generation.

  Resolves #6.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: glen/fostr#24
Co-Authored-By: Glen Whitney <glen@nobody@nowhere.net>
Co-Committed-By: Glen Whitney <glen@nobody@nowhere.net>
2021-03-01 20:40:35 +00:00
380177b274 Merge pull request 'docs: Finally get the tour to start from the real helloworld' (#23) from hw_tour into main
Also improves the testing situation for the features to date.
  Resolves #17.

Reviewed-on: glen/fostr#23
2021-02-19 17:30:18 +00:00
f9c6e04c8c docs: Finally get the tour to start from the real helloworld
Also improves the testing situation for the features to date.
  Resolves #17.
2021-02-19 08:37:14 -08:00
5ef816610b Merge pull request 'feat: Add double-quoted string constants with escapes' (#22) from string_escape into main
Resolves #20.

Reviewed-on: glen/fostr#22
2021-02-19 04:09:38 +00:00
d2ba26a53e feat: Add double-quoted string constants with escapes
Resolves #20.
2021-02-18 19:41:54 -08:00
bfe3f86116 Merge pull request 'feat: add <<< and >>> abbreviating operations to default stream' (#21) from default_gets into main
Resolves #16.

Reviewed-on: glen/fostr#21
2021-02-18 21:48:23 +00:00
7d4d3b93c9 feat: add <<< and >>> abbreviating operations to default stream
Resolves #16.
2021-02-18 12:18:47 -08:00
2772fd0c5c Add literal string constants (#19)
In addition, for the sake of Haskell code generation, this PR adds static typing
  with Statix.

  Resolves #5.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: glen/fostr#19
Co-Authored-By: Glen Whitney <glen@nobody@nowhere.net>
Co-Committed-By: Glen Whitney <glen@nobody@nowhere.net>
2021-02-18 04:17:05 +00:00
c516ed6d7f refactor: eliminate rule in desugar
By using list wrap properly.
2021-02-10 13:07:51 -08:00
02cf762ac7 Merge pull request 'feat: Allow expressions to be terminated/sequenced by ;' (#15) from semi_separate into main
Resolves #4.

Reviewed-on: glen/fostr#15
2021-02-10 21:02:39 +00:00
b9c8532899 feat: Allow expressions to be terminated/sequenced by ;
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)
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: glen/fostr#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
c4d3f66c51 Merge pull request 'feat: Allow indented continuation lines' (#9)
Reviewed-on: glen/fostr#9

Resolves #2.
2021-02-01 08:49:37 +00:00
eaa06e62eb feat: Allow indented continuation lines
Resolves #2.
2021-02-01 00:29:00 -08:00
2e49065031 feat: Implement enters operator >> (#8)
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>
2021-02-01 01:46:31 +00:00
527f802793 docs: Get mkdocs working 2021-01-30 19:48:03 -08:00
7b00b01856 chore: Switch to this repository from predecessor 2021-01-30 15:37:53 -08:00
9ecfa63f58 init: SDF3/Statix project as initialized by Spoofax 2021-01-30 12:27:10 -08:00