1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 08:27:03 +03:00
Commit Graph

137 Commits

Author SHA1 Message Date
Jan Mas Rovira
18d0b2d103 [pretty] fix postfix operator printing for patterns 2022-01-19 13:26:21 +01:00
Jan Mas Rovira
2ab2d06cfc [parser] add nodes for infix application for patterns 2022-01-19 13:13:23 +01:00
Jan Mas Rovira
ceb4e890df [app] include flag to print name ids for the scope command 2022-01-19 12:49:07 +01:00
Jan Mas Rovira
444f0f2456 [pretty] output to ANSI terminal with pretty colors 2022-01-19 12:41:16 +01:00
Jan Mas Rovira
286c125763 [parser] include nodes for infix and postfix application in the AST 2022-01-19 12:40:15 +01:00
Jan Mas Rovira
33eeb7f229 [pretty] implement pretty printer for scoped syntax 2022-01-19 11:25:29 +01:00
Jan Mas Rovira
688dbe3b28 [parser] delete duplicate keyword 2022-01-19 10:58:23 +01:00
Jan Mas Rovira
9653595bfc [parser] fix LetBlock expression 2022-01-19 10:20:55 +01:00
Jan Mas Rovira
de9610acd8 [parser] fix postfix keyword parsing 2022-01-18 17:29:15 +01:00
Jan Mas Rovira
4e3c5dd947 move Scoped syntax directory 2022-01-18 17:29:04 +01:00
Jan Mas Rovira
7a0d86796c [scoper] fix embedding of Parsec 2022-01-18 17:09:29 +01:00
Jan Mas Rovira
1d6ca6b989 [app] prepare app 2022-01-18 13:30:49 +01:00
Jan Mas Rovira
eda7f8418e [scoper] parse pattern sections 2022-01-18 12:25:25 +01:00
Jan Mas Rovira
8436544e87 [scoper] parse expressions 2022-01-17 20:12:31 +01:00
Jan Mas Rovira
c8cfb27fc4 [scoper] work more on the scoper 2022-01-15 19:55:18 +01:00
Jan Mas Rovira
df7995d5b6 [scoper] continue scoper implementation 2022-01-13 19:46:42 +01:00
Jan Mas Rovira
e51a1f5237 [ormolu] run ormolu 2022-01-13 11:53:20 +01:00
Jan Mas Rovira
f822a1a157 [parser, scoper] rethink concrete/scoped AST. Use TypeFamilies again 2022-01-13 11:51:19 +01:00
Jan Mas Rovira
70c4e6184f [parser] add pattern matching for lambda abstractions 2022-01-11 19:29:02 +01:00
Jan Mas Rovira
3536d33cf2 [parser] remove Stage from concrete syntax AST 2022-01-11 12:15:09 +01:00
Jan Mas Rovira
27fc96b4f3 [structure] restructure some files and delete obsolete ones 2022-01-11 11:50:18 +01:00
Jan Mas Rovira
6265ee27ed [dependencies] update to ghc 9.0.2 2022-01-11 10:23:45 +01:00
Jan Mas Rovira
82e23bb78c [example, test] fix syntax of example and add it to the test suite 2022-01-11 10:14:42 +01:00
Jan Mas Rovira
d74871d185 [test] fix tests paths and add stance to package.yaml 2022-01-11 10:09:08 +01:00
Jonathan Prieto-Cubides
655f2a3d96 Put test folder outside src 2022-01-10 12:34:46 -05:00
Jonathan Cubides
50a2a4f828
Merge pull request #3 from heliaxdev/jan
Parser and scoper
2022-01-10 12:10:31 -05:00
Jonathan Prieto-Cubides
3d8e1d2be3 minor changes before merging 2022-01-10 12:09:42 -05:00
Jonathan Prieto-Cubides
bf891b4dd3 [ Parsing ] added minor cosmetics revisions. 2022-01-10 11:24:23 -05:00
Jonathan Prieto-Cubides
74dfb78693 Fixing more merging conflicts 2022-01-10 11:02:20 -05:00
Jonathan Cubides
a33e8deff8
Merge branch 'qtt' into jan 2022-01-10 10:03:39 -05:00
Jan Mas Rovira
64869edceb [build] remove unused stances 2022-01-10 12:38:43 +01:00
Jan Mas Rovira
829a207549 [parser] fix parsing 2022-01-10 12:38:36 +01:00
Jan Mas Rovira
7082c21223 [parser] add QQ parser 2022-01-10 10:46:28 +01:00
Jan Mas Rovira
ba0e4ff543 [parser] add injective type families and adapt ModulePathType accordingly 2022-01-05 09:38:35 +01:00
Jan Mas Rovira
21ccec7f04 [parser] add necessary extensions for singletons and implement singletons for ModuleIsTop 2022-01-05 09:38:35 +01:00
Jan Mas Rovira
90d745e12b [dependencies] remove dependency of singletons-th 2022-01-05 09:38:35 +01:00
Jan Mas Rovira
b8ec60ffdd [parser] add index to Module to distinguish top level modules 2022-01-05 09:38:35 +01:00
Jan Mas Rovira
0744567313 [dependencies] add singletons dependency and sort dependencies 2022-01-05 09:38:35 +01:00
Jan Mas Rovira
305eedf798 [scoper] change type of scoped Import statement 2022-01-05 09:38:35 +01:00
Jan Mas Rovira
dd497baace [dependencies] add microlens-platform dependency 2022-01-05 09:38:28 +01:00
Jan Mas Rovira
3439ae8365 [scoper] continue the implementation 2022-01-04 13:31:47 +01:00
Jan Mas Rovira
2d1594f818 [parser] add parser runners 2022-01-04 11:47:42 +01:00
Jan Mas Rovira
eff55586f9 [parser] rename some types 2022-01-04 11:02:05 +01:00
Jan Mas Rovira
e2269b9367 [parser] rename Preparsed to Parsed 2022-01-03 18:41:13 +01:00
Jan Mas Rovira
0a06565be5 [scoper] add Scoper 2022-01-03 12:53:15 +01:00
Jan Mas Rovira
ebf89ef254 add polysemy dependency. Incompatible with Safe 2022-01-03 12:52:58 +01:00
Jan Mas Rovira
01fd3ec983 [parser] use some and sepBy from parser-combinators lib 2022-01-03 12:52:55 +01:00
Jan Mas Rovira
5cf6ed3a1b [parser] add Eq and Ord instances to the AST 2022-01-03 12:52:33 +01:00
Jan Mas Rovira
a23473bf6b [parser] add Stage to patterns 2022-01-03 12:52:02 +01:00
Jonathan Prieto-Cubides
0a4bb6b5b6 [ Parsing ] Renaming Usage -> Quantity 2021-12-30 11:24:10 -05:00