1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 01:52:11 +03:00
Commit Graph

1055 Commits

Author SHA1 Message Date
Jan Mas Rovira
0856327658 [errors] add not in scope error 2022-02-14 13:39:54 +01:00
Jan Mas Rovira
d2e07b9c43 [errors] add more errors and tests 2022-02-14 11:54:18 +01:00
Jan Mas Rovira
586ef64f90 [scoper] add more errors 2022-02-14 11:35:07 +01:00
Jan Mas Rovira
4dcf8d9e81 [pretty] given instances for Pretty 2022-02-14 11:34:30 +01:00
Jan Mas Rovira
cbc9a409ca [tests] add two negative tests to check new errors 2022-02-14 09:06:11 +01:00
Jan Mas Rovira
1bda862266 [scoper/errors] include InfixError 2022-02-14 09:05:34 +01:00
Jan Mas Rovira
5929172e1e [package] remove unused 'word8' dependency 2022-02-13 12:30:20 +01:00
Jan Mas Rovira
e8c46040b0 [pretty] refactor to use PrettyCode type class extensively 2022-02-13 12:02:57 +01:00
Jan Mas Rovira
edd47ad00b [pretty] implement pretty printer for parsed AST 2022-02-12 17:35:23 +01:00
Jan Mas Rovira
6da7dd8b30 add unified minijuvix errors 2022-02-12 12:29:25 +01:00
Jan Mas Rovira
a2f16ef371 [errors] setup some ground for prettier errors 2022-02-11 19:12:48 +01:00
Jan Mas Rovira
92c47d5dff [parser] wip: add location to concrete AST 2022-02-11 13:40:49 +01:00
Jan Mas Rovira
a41576a790 implement parsing and scoping of module parameters 2022-02-10 19:39:51 +01:00
Jan Mas Rovira
f7d9c9cd2f [parser] parse module parameters 2022-02-09 14:59:29 +01:00
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