Paul Cadman
|
d297322b7d
|
[typecheck] Updates to error message copy
|
2022-03-31 09:30:56 +01:00 |
|
Paul Cadman
|
a030b97e8f
|
[typecheck] Add descriptive messages for remainng errors
|
2022-03-31 09:30:54 +01:00 |
|
Paul Cadman
|
b41b4c4e84
|
[typecheck] Add error message for ctor match args mistmatch
|
2022-03-31 09:29:27 +01:00 |
|
Paul Cadman
|
e37fa7a8dc
|
[app] Adds microjuvix subcommands for printing / typechecking
|
2022-03-31 09:28:20 +01:00 |
|
Paul Cadman
|
615f7d11c0
|
[test] Adds negative typecheck test for constructor
|
2022-03-31 09:28:20 +01:00 |
|
Paul Cadman
|
fc2cd3f03f
|
[typecheck] Add error infrastructure for type errors
Add a pretty error for mismatched constructor type in a pattern match
|
2022-03-31 09:28:16 +01:00 |
|
Jonathan Prieto-Cubides
|
6ba1a4f4ff
|
Add a validity predicate example written in MiniJuvix
|
2022-03-30 19:09:43 +02:00 |
|
Jan Mas Rovira
|
91482119c1
|
[microjuvix] improve wrong type message
|
2022-03-30 18:37:40 +02:00 |
|
Jan Mas Rovira
|
f121fe0d39
|
[minihaskell] add compilation to MiniHaskell
|
2022-03-30 16:03:56 +02:00 |
|
Paul Cadman
|
d60bc30179
|
Merge pull request #20 from heliaxdev/wip4-rebase
Use refs in Abstract AST and add refs InfoTable to translateModule return
|
2022-03-29 14:18:55 +01:00 |
|
Jan Mas Rovira
|
1c59cd1502
|
rename some functions
|
2022-03-29 15:18:17 +02:00 |
|
Paul Cadman
|
53f66b09f2
|
[scoper] Update emptyInfoTable with missing field
|
2022-03-29 13:50:32 +01:00 |
|
Paul Cadman
|
c2f6d1529c
|
[doc] Remove empty docs
|
2022-03-29 13:49:49 +01:00 |
|
Paul Cadman
|
0e3fb402d5
|
[main] Fix callsites of translateModule
|
2022-03-29 11:58:48 +01:00 |
|
Paul Cadman
|
9fea7b1ba0
|
[abstract] Add InfoTableBuilder for scoped to abstract
|
2022-03-29 11:58:48 +01:00 |
|
Paul Cadman
|
9e8a64fd7c
|
[scoper] Add function clauses to scoped InfoTable
|
2022-03-29 11:58:48 +01:00 |
|
Paul Cadman
|
3354847eb5
|
[abstract] Add InfoTable for abstract syntax
|
2022-03-29 11:58:48 +01:00 |
|
Paul Cadman
|
36e53ec6c9
|
[abstract] Make Iden use references instead of Name
|
2022-03-29 11:58:48 +01:00 |
|
Paul Cadman
|
1d39124fac
|
[scope] Move InfoTable to a new module
|
2022-03-29 11:58:48 +01:00 |
|
Jan Mas Rovira
|
b685af034d
|
fix checking for constructors apps in patterns
|
2022-03-29 10:04:10 +02:00 |
|
Jan Mas Rovira
|
153ebe36a2
|
add simple test for MicroJuvix type checker
|
2022-03-29 09:46:26 +02:00 |
|
Jan Mas Rovira
|
b7dd050663
|
[microjuvix] implement basic typechecker
|
2022-03-29 02:02:37 +02:00 |
|
Jan Mas Rovira
|
51761a10cb
|
fix readme
|
2022-03-28 17:32:09 +02:00 |
|
Jan Mas Rovira
|
db8f8a98c9
|
fix package.yaml
|
2022-03-28 09:40:51 +02:00 |
|
Jonathan Prieto-Cubides
|
1e52e663ca
|
Fixed merge conflicts
|
2022-03-25 18:30:37 +01:00 |
|
Jonathan Prieto-Cubides
|
4497c8bfe1
|
[ package.yaml ] update version
|
2022-03-25 18:26:22 +01:00 |
|
Jonathan Cubides
|
de6fabf625
|
v0.1.1 (#15)
* add references to the syntax and cleanup code
* [make] add .PHONY to Makefile targets
* [parser] add parser / pretty for axiom backends
* Pairing progress
* [scoper] Add support for Axiom backends
* [parser] Fix foreign block parsing
* [ app ] adds --no-colors flag for the scope command
* [ghc] upgrade to ghc 9.2.2
* use GHC2021
* [doc] Remove out-of-date comment
* [test] Add ambiguity tests
* [scoper] Improve resolution of local symbols
* [error] WIP improving ambiguity error messages
* [ clean-up ] new lab folder for experimentation
* [ app ] ixes the lint warning
* [ Termination ] removes Alga dependency
* [error] Add message for ambiguous symbol error
* [error] Add ambiguous module message
* [scoper] Remove ErrGeneric
* [test] Add test to suite
* [test] show diff when ast's are different
* [ lab ] folder organization
* [ Makefile ] add targets with --watch option (stack cmds) and remove unused things
* [ app ] add --version flag and fixed warnings and formatting
* [test] remove fromRightIO to fix ambiguity error
* [test] Add test of shadowing public open
* [scoper] Add visibility annotation for Name
* prepare buildIntoTable
* [ Concrete ] add instance of hashable for refs.
* add InfoTableBuilder effect
* [ scoper ] add InfoTableBuilder effect
* [ CHANGELOG ] updated v0.1.1
* [ README ] org version now
Co-authored-by: Jan Mas Rovira <janmasrovira@gmail.com>
Co-authored-by: Paul Cadman <git@paulcadman.dev>
|
2022-03-25 18:16:34 +01:00 |
|
Jonathan Cubides
|
eee91cbb43
|
Merge pull request #14 from heliaxdev/wip3
v0.1.1
|
2022-03-25 18:15:37 +01:00 |
|
Jonathan Prieto-Cubides
|
674559d069
|
[ README ] org version now
|
2022-03-25 18:10:17 +01:00 |
|
Jonathan Prieto-Cubides
|
318cc4c441
|
[ CHANGELOG ] updated v0.1.1
|
2022-03-25 18:06:50 +01:00 |
|
Jonathan Prieto-Cubides
|
ce30de2dc3
|
[ scoper ] add InfoTableBuilder effect
|
2022-03-25 17:44:32 +01:00 |
|
Jan Mas Rovira
|
b076009f64
|
add InfoTableBuilder effect
|
2022-03-25 16:08:32 +01:00 |
|
Jonathan Prieto-Cubides
|
9d05cedc50
|
[ Concrete ] add instance of hashable for refs.
|
2022-03-25 15:37:45 +01:00 |
|
Jan Mas Rovira
|
9606f2477d
|
prepare buildIntoTable
|
2022-03-25 12:57:17 +01:00 |
|
Paul Cadman
|
6c2c7537c8
|
[scoper] Add visibility annotation for Name
|
2022-03-25 10:31:10 +00:00 |
|
Paul Cadman
|
2ec85d39a4
|
[test] Add test of shadowing public open
|
2022-03-25 09:30:05 +00:00 |
|
Jan Mas Rovira
|
e241cc7b5b
|
[test] remove fromRightIO to fix ambiguity error
|
2022-03-25 09:26:40 +01:00 |
|
Jonathan Prieto-Cubides
|
17a0577ee7
|
[ app ] add --version flag and fixed warnings and formatting
|
2022-03-25 00:52:30 +01:00 |
|
Jonathan Prieto-Cubides
|
02474c837f
|
[ Makefile ] add targets with --watch option (stack cmds) and remove unused things
|
2022-03-25 00:50:18 +01:00 |
|
Jonathan Prieto-Cubides
|
cd2e19e265
|
[ lab ] folder organization
|
2022-03-25 00:48:43 +01:00 |
|
Jan Mas Rovira
|
eedf468261
|
[test] show diff when ast's are different
|
2022-03-24 17:04:22 +01:00 |
|
Paul Cadman
|
6ce6489617
|
[test] Add test to suite
|
2022-03-24 14:59:39 +00:00 |
|
Paul Cadman
|
242275a4e3
|
[scoper] Remove ErrGeneric
|
2022-03-24 14:57:10 +00:00 |
|
Paul Cadman
|
e60d307595
|
[error] Add ambiguous module message
|
2022-03-24 14:45:49 +00:00 |
|
Paul Cadman
|
459da40ae6
|
[error] Add message for ambiguous symbol error
|
2022-03-24 14:27:56 +00:00 |
|
Jonathan Prieto-Cubides
|
e6bb422cea
|
[ Termination ] removes Alga dependency
|
2022-03-24 13:25:50 +01:00 |
|
Jonathan Prieto-Cubides
|
b4ce3b8fbf
|
[ app ] ixes the lint warning
|
2022-03-24 13:25:50 +01:00 |
|
Jonathan Prieto-Cubides
|
02de05830f
|
[ clean-up ] new lab folder for experimentation
|
2022-03-24 13:25:50 +01:00 |
|
Paul Cadman
|
37537749e1
|
[error] WIP improving ambiguity error messages
|
2022-03-24 12:02:14 +00:00 |
|
Paul Cadman
|
339cc24541
|
[scoper] Improve resolution of local symbols
|
2022-03-24 10:28:15 +00:00 |
|