1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-26 09:04:18 +03:00
Commit Graph

1608 Commits

Author SHA1 Message Date
Jan Mas Rovira
c9ac6b8c5a [pretty] group statements together when it makes sense 2022-01-25 13:07:36 +01:00
Jan Mas Rovira
968b54d562 [pretty] fix semicolon at the end of modules 2022-01-25 12:27:04 +01:00
Jan Mas Rovira
00d7d31774 [scoper] fix constructor parsing in patterns 2022-01-24 17:12:14 +01:00
Jan Mas Rovira
d39b768579 [scoper] add efficiency comment 2022-01-24 15:55:09 +01:00
Jonathan Prieto-Cubides
f2278c8947 [ examples ] added some test for modules 2022-01-23 22:03:11 -05:00
Jan Mas Rovira
4d77d8f696 [concrete] optional universe level in parser and pretty printer 2022-01-21 18:01:48 +01:00
Jan Mas Rovira
4155898883 [scoper] simplify infix parser 2022-01-21 15:53:55 +01:00
Jan Mas Rovira
f597f652e5 [concrete] rename DataConstructor to InductiveConstructor 2022-01-21 13:15:19 +01:00
Jan Mas Rovira
d6b616bdd9 [concrete] rename DataType to Inductive 2022-01-21 13:12:25 +01:00
Jan Mas Rovira
8c31d7097d [concrete] rename Expression/Pattern Sections into Atoms 2022-01-21 10:06:02 +01:00
Jan Mas Rovira
18ec026605 Merge branch 'jan' into qtt 2022-01-21 09:52:58 +01:00
Jan Mas Rovira
61df66d186 replace relude by our own Prelude 2022-01-21 09:50:37 +01:00
Jan Mas Rovira
7cbbdf5a13 [clean] purge old code 2022-01-21 09:50:24 +01:00
Jan Mas Rovira
0d14e62a4f [test] remove qualified-by-type constructors 2022-01-21 09:20:27 +01:00
Jan Mas Rovira
66f36c0bd4 [ormolu] run ormolu 2022-01-20 12:55:46 +01:00
Jan Mas Rovira
f736e57d58 [cleanup] remove empty and unused files 2022-01-20 12:55:24 +01:00
Jan Mas Rovira
b808a03760 [app] pretty print parsed Haskell AST 2022-01-20 12:50:16 +01:00
Jan Mas Rovira
8b864ec31c [pretty] improve pretty printing 2022-01-19 14:05:49 +01:00
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