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

1591 Commits

Author SHA1 Message Date
Jan Mas Rovira
04b0ae25ed draft abstract syntax 2022-02-08 19:35:47 +01:00
Jan Mas Rovira
f82c3f68f7 [scoper] fix scoping of function clauses inside a where block 2022-02-07 01:24:41 +01:00
Jan Mas Rovira
672d6750f6 [parser] add & to accepted symbol characters 2022-02-07 01:20:31 +01:00
Jan Mas Rovira
22d4b97b99 [parser] add , to accepted symbol characters 2022-02-07 00:53:25 +01:00
Jan Mas Rovira
92c4bb3c81 [scoper] fix: make local vars visible in where clauses 2022-02-07 00:37:03 +01:00
Jan Mas Rovira
80dfd83435 [scoper] handle open modules in where clauses 2022-02-06 23:52:47 +01:00
Jan Mas Rovira
fdd5a0391d [html] add light theme; add cli option to pick theme 2022-02-05 23:15:42 +01:00
Jan Mas Rovira
0a9ea19f19 [stdlib] update 2022-02-05 19:09:43 +01:00
Jan Mas Rovira
bfb800052a [parser] parse infix operators between parens as non infix operators 2022-02-05 19:09:36 +01:00
Jan Mas Rovira
1919c32417 [html] improve html pretty printing 2022-02-05 13:27:33 +01:00
Jan Mas Rovira
b48f00556a [pretty] add simple html output with links 2022-02-04 23:14:06 +01:00
Jan Mas Rovira
c7461342de [html] start working towards html pretty printing 2022-02-04 13:31:38 +01:00
Jan Mas Rovira
046a2779d3 [pretty] improve prettyprinter. Add proper parentheses handling
commit 7510cd2240
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 23:59:40 2022 +0100

    [pretty] group infix declaration with symbol definition

commit 4d14338c30
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 23:51:44 2022 +0100

    [pretty] improve parentheses for patterns. Apply other small improvements

commit 6307c7bdc0
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 19:51:20 2022 +0100

    [pretty] parentheses take precedence and associativity into account

commit c369eb6fa0
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 18:06:59 2022 +0100

    [stdlib] add MiniJuvix standard library as a submodule

commit aea7208d88
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 13:47:43 2022 +0100

    [pretty] improve parentheses wip

commit d6fd0ae4e0
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 12:41:51 2022 +0100

    [examples] add MiniJuvix Prelude as an example

commit 0dedbaf76d
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 11:33:34 2022 +0100

    [scoper] fix scoper bug

commit 12d4fbf8fd
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 10:24:43 2022 +0100

    [scoper] fix modules cache

commit 0be571067c
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 01:54:32 2022 +0100

    [scoper] wip 5

commit 06e2e4eb0c
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 01:35:30 2022 +0100

    [scoper] wip 4

commit db3850075d
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 00:01:40 2022 +0100

    [scoper] wip 3

commit b1e8a535a7
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Wed Feb 2 17:47:17 2022 +0100

    [scoper] wip 2

commit 15f6073f9a
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Tue Feb 1 20:51:05 2022 +0100

    [scoper] scope wip

commit df1fb9c3bb
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 17:54:14 2022 +0100

    run ormolu

commit 35fb22e28a
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 17:38:58 2022 +0100

    [scoper] continue working on scoping of modules

commit 0669f11c02
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 16:01:31 2022 +0100

    [scoper] ambiguous symbols no longer cause a crash

commit b1ee93f220
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 16:01:01 2022 +0100

    [pretty] properly print qualified symbols and open statements

commit 20666b1163
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 12:06:29 2022 +0100

    [scoper] module scoping WIP
2022-02-04 00:09:00 +01:00
Jan Mas Rovira
7510cd2240 [pretty] group infix declaration with symbol definition 2022-02-03 23:59:40 +01:00
Jan Mas Rovira
4d14338c30 [pretty] improve parentheses for patterns. Apply other small improvements 2022-02-03 23:52:51 +01:00
Jan Mas Rovira
6307c7bdc0 [pretty] parentheses take precedence and associativity into account 2022-02-03 19:51:20 +01:00
Jan Mas Rovira
c369eb6fa0 [stdlib] add MiniJuvix standard library as a submodule 2022-02-03 18:06:59 +01:00
Jan Mas Rovira
aea7208d88 [pretty] improve parentheses wip 2022-02-03 13:47:43 +01:00
Jan Mas Rovira
d6fd0ae4e0 [examples] add MiniJuvix Prelude as an example 2022-02-03 12:41:51 +01:00
Jan Mas Rovira
0dedbaf76d [scoper] fix scoper bug 2022-02-03 11:33:34 +01:00
Jan Mas Rovira
023fde3e39 [scoper] Implement qualified names, open and import statements
commit 12d4fbf8fd
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 10:24:43 2022 +0100

    [scoper] fix modules cache

commit 0be571067c
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 01:54:32 2022 +0100

    [scoper] wip 5

commit 06e2e4eb0c
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 01:35:30 2022 +0100

    [scoper] wip 4

commit db3850075d
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Thu Feb 3 00:01:40 2022 +0100

    [scoper] wip 3

commit b1e8a535a7
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Wed Feb 2 17:47:17 2022 +0100

    [scoper] wip 2

commit 15f6073f9a
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Tue Feb 1 20:51:05 2022 +0100

    [scoper] scope wip

commit df1fb9c3bb
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 17:54:14 2022 +0100

    run ormolu

commit 35fb22e28a
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 17:38:58 2022 +0100

    [scoper] continue working on scoping of modules

commit 0669f11c02
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 16:01:31 2022 +0100

    [scoper] ambiguous symbols no longer cause a crash

commit b1ee93f220
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 16:01:01 2022 +0100

    [pretty] properly print qualified symbols and open statements

commit 20666b1163
Author: Jan Mas Rovira <janmasrovira@gmail.com>
Date:   Fri Jan 28 12:06:29 2022 +0100

    [scoper] module scoping WIP
2022-02-03 10:25:38 +01:00
Jan Mas Rovira
12d4fbf8fd [scoper] fix modules cache 2022-02-03 10:24:43 +01:00
Jan Mas Rovira
0be571067c [scoper] wip 5 2022-02-03 01:59:05 +01:00
Jan Mas Rovira
06e2e4eb0c [scoper] wip 4 2022-02-03 01:35:30 +01:00
Jan Mas Rovira
db3850075d [scoper] wip 3 2022-02-03 01:15:43 +01:00
Jan Mas Rovira
b1e8a535a7 [scoper] wip 2 2022-02-02 19:49:44 +01:00
Jan Mas Rovira
15f6073f9a [scoper] scope wip 2022-02-01 20:51:05 +01:00
Jan Mas Rovira
df1fb9c3bb run ormolu 2022-01-28 17:54:31 +01:00
Jan Mas Rovira
35fb22e28a [scoper] continue working on scoping of modules 2022-01-28 17:39:14 +01:00
Jan Mas Rovira
0669f11c02 [scoper] ambiguous symbols no longer cause a crash 2022-01-28 16:01:31 +01:00
Jan Mas Rovira
b1ee93f220 [pretty] properly print qualified symbols and open statements 2022-01-28 16:01:01 +01:00
Jan Mas Rovira
20666b1163 [scoper] module scoping WIP 2022-01-28 12:06:29 +01:00
Jan Mas Rovira
5580b563f4 [pretty] improve where block printing 2022-01-25 13:23:05 +01:00
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