Commit graph

2989 commits

Author SHA1 Message Date
Richard Feldman
3b6df5d78e
Merge pull request #290 from rtfeldman/type-errors
Type errors
2020-04-03 00:16:21 -04:00
Folkert
1981a7e467 refactor and clean up 2020-04-03 01:20:35 +02:00
Folkert
604dbf7215 Merge remote-tracking branch 'origin/trunk' into precedence-error 2020-04-02 23:29:15 +02:00
Folkert
2e822e739f report circular type error 2020-04-02 23:13:35 +02:00
Richard Feldman
ec9c906262
Merge pull request #288 from rtfeldman/improvements
Some build improvements
2020-04-01 23:36:53 -04:00
Richard Feldman
b8dc9ce1b2 Update bitcode importing instructions 2020-04-01 23:24:00 -04:00
Richard Feldman
01f3ae893f Use include_bytes! to import llvm bitcode 2020-04-01 23:24:00 -04:00
Richard Feldman
317b5217d7 Update BUILDING_FROM_SOURCE 2020-04-01 23:24:00 -04:00
Richard Feldman
658dc34313 Don't make a JIT execution engine in the CLI 2020-04-01 23:24:00 -04:00
Richard Feldman
6dbc7a4db0 Enable more release optimizations 2020-04-01 23:24:00 -04:00
Richard Feldman
c08f6c34f9
Merge pull request #282 from rtfeldman/report-problems
Report problems
2020-04-01 23:23:51 -04:00
Richard Feldman
63bf1ce8b0
Merge branch 'trunk' into report-problems 2020-04-01 23:12:31 -04:00
Chad Stearns
30dadd882c Binop precedence problem report test 2020-04-01 22:17:39 -04:00
Folkert
8642cfeae0 report first type error 2020-04-01 23:37:05 +02:00
Folkert
106a3646bf add category to Eq constraint 2020-04-01 20:09:10 +02:00
Chadtech
2e2ce0f0de
Merge pull request #286 from rtfeldman/precedence-error
report precedence error
2020-04-01 11:36:18 -04:00
Folkert
14ad793bd7 hook up TypeError 2020-04-01 16:28:10 +02:00
Richard Feldman
3f627357d5
Merge pull request #287 from rtfeldman/import-bitcode
Import LLVM bitcode for use in builtins
2020-04-01 01:44:17 -04:00
Richard Feldman
63b38ae174 clippy the original clipper 2020-04-01 00:03:27 -04:00
Richard Feldman
dfa514c1fe Use no_std in the builtins bitcode source 2020-04-01 00:03:03 -04:00
Richard Feldman
67e68d57b4 cargo fmt 2020-03-31 23:56:31 -04:00
Richard Feldman
9aba6ff22e Add a note about using build_cast 2020-03-31 23:56:09 -04:00
Richard Feldman
d93429131e Remove extraneous bitcode.bc 2020-03-31 23:55:11 -04:00
Richard Feldman
cda6a21fa4 Implement Num.toFloat 2020-03-31 23:51:17 -04:00
Richard Feldman
37492f4aa6 Load builtins on startup 2020-03-31 23:50:55 -04:00
Richard Feldman
081de1b4bc Add builtins/bitcode/ 2020-03-31 23:48:48 -04:00
Richard Feldman
cc555dd880 Update hello-world README 2020-03-31 21:15:39 -04:00
Folkert
6531845966 fix off-by-one error 2020-04-01 00:06:48 +02:00
Folkert
8e8f93955e cleanup 2020-03-31 23:54:14 +02:00
Folkert
48832ffa84 add error under/side lines 2020-03-31 23:49:26 +02:00
Folkert
2b4b63a8eb add caret underline for sinlg-line regions 2020-03-31 23:28:14 +02:00
Folkert
11c8e2bfaa improve Precedence error message 2020-03-31 23:11:35 +02:00
Richard Feldman
d213c7316b Fix missing report for precedence problem 2020-03-31 00:08:56 -04:00
Richard Feldman
33d5e528a6 Use Interns for module_id in reporting tests 2020-03-30 23:57:57 -04:00
Richard Feldman
84ec100208 Merge remote-tracking branch 'origin/trunk' into report-problems 2020-03-30 23:49:30 -04:00
Richard Feldman
881e7c2b05
Merge pull request #284 from rtfeldman/pattern-errors
Pattern errors
2020-03-30 23:49:14 -04:00
Richard Feldman
574e346c8f
Merge branch 'trunk' into pattern-errors 2020-03-30 23:17:58 -04:00
Richard Feldman
0337e9d2eb
Merge pull request #285 from rtfeldman/hello-world
Hello, World!
2020-03-30 23:15:14 -04:00
Richard Feldman
26655f7355 Address clippy's concerns 2020-03-30 22:34:59 -04:00
Richard Feldman
1609c058f6 Fix tests 2020-03-30 22:31:20 -04:00
Richard Feldman
083777cbcd s/helloworld/hello-world/g 2020-03-30 22:25:06 -04:00
Richard Feldman
0165e38b1d Add lld instructions to BUILDING_FROM_SOURCE 2020-03-30 22:14:31 -04:00
Richard Feldman
fc2c07163f Recommend /usr/local/lib/ over /usr/lib 2020-03-30 21:59:12 -04:00
Richard Feldman
1a41f0b32a Make cli work on multiple OSes, in theory 2020-03-30 21:27:41 -04:00
Richard Feldman
5f817d8019 Add a basic CLI 2020-03-30 21:27:37 -04:00
Richard Feldman
70936841c8 Add Hello World example 2020-03-30 21:27:02 -04:00
Richard Feldman
47f35dde01 First pass at test_emit 2020-03-30 21:27:02 -04:00
Richard Feldman
0a0a736153 Move pass managers into llvm::build 2020-03-30 21:27:02 -04:00
Folkert
db3ffc6dab make runtime errors for invalid patterns 2020-03-31 01:47:14 +02:00
Folkert
2586fde6af add test that triggers assert 2020-03-31 00:27:37 +02:00