e5c6518128
chore(clippy): fix clippy failures.
2023-02-03 09:58:30 +13:00
006f5dabfc
fix(deps): update rust crate pest to 2.5
2022-11-25 15:47:24 +13:00
aa1685efea
fix(deps): update rust crate pest_derive to 2.5
2022-11-25 14:47:39 +13:00
e2d930b61a
fix(deps): update rust crate miette to 5.5
2022-11-24 14:47:22 +13:00
dddfea4a62
chore(clippy): comply with new only_used_in_recursion rule.
2022-11-16 08:49:44 +13:00
808c317683
fix(deps): update rust crate miette to 5.4
2022-10-29 12:49:20 +13:00
76ffcdc425
fix(deps): update rust crate textwrap to 0.16.0
2022-10-24 09:30:15 +13:00
3894d2de85
fix(deps): update rust crate pest_derive to 2.4
2022-10-03 16:30:57 +13:00
38c2632ded
fix(deps): update rust crate pest to 2.4
2022-10-03 16:17:53 +13:00
63c2d8729f
chore(deps): Update to pest 2.4's pratt parser.
2022-10-03 15:48:45 +13:00
f240b07a6a
chore: Update readme and licenses for all packages.
2022-09-27 08:34:24 +13:00
dd9577c6a8
improvement(decompiler): better local_call display.
2022-09-26 17:43:27 +13:00
b60e6c42f1
fix: ensure that native types are singletons.
2022-09-26 17:43:10 +13:00
2907fff1f6
improvement: Some small type system improvements:
...
* `Type::LateSelf` which stands in for `Self` in protocol function definitions.
* Correctly reference `Self` and `Self.` types when compiling.
* Warn when functions have no body outside of protocols.
2022-09-26 12:13:26 +13:00
0a25c649cc
improvement: remove all trace of defs
since we don't need it.
2022-09-26 10:54:35 +13:00
9cd01979bd
fix(deps): update rust crate textwrap to 0.15.1
2022-09-23 18:03:55 +12:00
aface0ae2b
wip: some code gardening and start on a decompiler.
2022-09-23 17:24:50 +12:00
65118a3d01
wip: some code gardening and start on a decompiler.
2022-09-15 10:14:18 +12:00
892d9263f0
improvement: copy a reference to the source into user-defined types.
2022-08-29 19:26:56 +12:00
eefe3a606e
improvement: re-use the same context for multiple file compiles.
2022-08-29 19:09:31 +12:00
d1e3e62b6c
improvement: add a bunch of notifications.
2022-08-24 18:37:32 +12:00
864e9aa8c7
wip
2022-08-23 16:17:22 +12:00
b46d19b915
fix(deps): update rust crate pest_derive to 2.3
2022-08-22 20:16:32 +12:00
0e446666e5
fix(deps): update rust crate pest to 2.3
2022-08-22 19:30:45 +12:00
97a6f14720
fix: get the build passing agian.
2022-08-22 19:27:13 +12:00
de99800349
wip: anyone know how to write a type checker?
2022-08-22 19:02:20 +12:00
9675e7fff5
improvement: rename Module -> Context.
2022-08-22 16:32:51 +12:00
a05736528c
wip: can parse the core library.
2022-08-22 16:21:47 +12:00
272be0d249
wip: use miette
for compiler errors.
2022-08-22 11:30:39 +12:00
336b2574b8
wip: desugar infix and unary operations into function calls.
2022-08-19 17:46:36 +12:00
28f918dbca
fix(deps): Update dependencies.
2022-08-19 16:41:17 +12:00
40717b6c78
wip: working on type resolution.
2022-08-19 16:25:42 +12:00
4e476626ed
wip: more work on the IR.
2022-08-19 09:05:02 +12:00
b8cdd0bf63
wip: working on the intermediate representation.
2022-08-16 20:02:03 +12:00
2277882c89
wip: replace home-rolled lexer and parser with pest.
2022-08-15 17:48:36 +12:00
f6eccebb27
wip: more work on the compiler. I think I went the wrong direction.
2022-08-14 07:11:42 +12:00
2efe1a3cf1
wip: working on the compiler.
2022-08-09 12:40:22 +12:00
e60cf9c4dd
wip: it can parse all the core code written so far.!
2022-08-09 12:40:22 +12:00
3e1ca2cb7a
wip: wtf I don't even know any more,
2022-08-09 12:40:22 +12:00