Commit Graph

31 Commits

Author SHA1 Message Date
51cf8a8d28 implement unsigned operators 2021-11-11 23:04:41 +01:00
d3e882cba0 add take left operator, sizecoded wasm4 skip ahead to 512 bytes 2021-11-11 21:20:18 +01:00
ee746d1cea optimize skipahead some more 2021-11-10 22:48:49 +01:00
911c2e43ad move examples into subfolder, added wasm4 skip_ahead 2021-11-10 22:37:26 +01:00
e9f115ee95 implement table of intrinsics 2021-11-09 22:16:40 +01:00
41ec5a770f only emit global section when not empty 2021-11-08 23:15:29 +01:00
63012947f3 add global vars + i64 & f64 support 2021-11-07 22:20:24 +01:00
f0474a3bbc add simple rng test 2021-11-07 10:36:49 +01:00
0a8f4e1d8f add license and initial README.md 2021-11-06 11:51:40 +01:00
387f389c28 ported technotunnel 2021-11-03 23:59:40 +01:00
4793c4eb69 added support for function imports 2021-11-03 22:07:55 +01:00
4f70a65866 uw8.ram -> env.memory 2021-11-03 09:14:35 +01:00
75531bbc2f time is now a parameter to the tic function instead of a mutable import 2021-11-02 23:27:15 +01:00
2d901e4c61 fix branches inside if 2021-11-02 00:03:34 +01:00
b47f1ef2bc can compile uw8loader 2021-11-01 22:59:59 +01:00
d0ee844d8c implemented if 2021-11-01 09:21:36 +01:00
02b8ff860b finish porting to new parser 2021-11-01 00:10:40 +01:00
607c3c7a28 improve compile times 2021-10-31 21:20:13 +01:00
421eefb494 parse trainride as well 2021-10-31 20:49:46 +01:00
52e8210e09 warptunnel parses 2021-10-31 19:07:45 +01:00
6f5d068bd6 new parser successfully parses xorscroll.hw 2021-10-31 18:46:34 +01:00
d2b7719580 more progress on the new parser 2021-10-31 18:33:33 +01:00
7ef98f0e96 try out chumsky parser lib - wip 2021-10-30 23:52:09 +02:00
2267eed21c got trainride working 2021-10-27 22:18:34 +02:00
23d926dbb3 implement some initial f32 support 2021-10-27 20:03:23 +02:00
7f5dd9aa80 some tidying up 2021-10-26 21:02:57 +02:00
af1c8f999b first running uw8 module 2021-10-26 20:29:57 +02:00
3b4eeb5f9c successfully compile basic test to wasm 2021-10-25 21:12:56 +02:00
b8b0a21ef9 protect agains division by zero in constant folding 2021-10-24 22:56:10 +02:00
d4a5d62255 implement type checking and constand folding for simple example 2021-10-24 22:48:04 +02:00
e6a6fd1535 initial commit, correctly parses simple example 2021-10-24 20:24:24 +02:00