Commit Graph

53 Commits

Author SHA1 Message Date
f02d1de8a7 remove short memory op as it causes parsing ambiguities 2021-11-27 22:39:56 +01:00
c0140d0671 fix two exponential parse time blow-ups 2021-11-21 22:41:00 +01:00
788a5657b5 some more experiments toward a better palette 2021-11-21 13:35:39 +01:00
640c7fff52 add ability to include file as data 2021-11-21 13:34:15 +01:00
8027a8849b unoptimized new "correct" attempt at palette 2021-11-17 20:45:51 +01:00
60bd3a7874 update example in readme 2021-11-16 23:34:47 +01:00
d62bc8bf86 make curlywas available as a library 2021-11-16 23:30:25 +01:00
e706e75db1 final (?) small tweak, removing forced saturation limit 2021-11-15 21:34:55 +01:00
69d395f6eb fix greyscale palette 2021-11-15 20:42:11 +01:00
90a1c21b22 very slightly increase brightness of gradients 2021-11-15 18:42:01 +01:00
381b681115 optimize gradient generation code 2021-11-15 18:33:38 +01:00
fdc98ddf17 small tweak to prevent 100% saturation 2021-11-15 18:09:34 +01:00
855c7f61b7 fix completely broken math 2021-11-15 15:33:18 +01:00
c2ae6cebe6 increased saturation 2021-11-15 14:33:23 +01:00
dc74ff122c add test for sweetie shading 2021-11-14 23:55:42 +01:00
a1b1c01d1d add sweetie palette 2021-11-14 23:36:54 +01:00
fb057bec11 new version of palette test 2021-11-14 22:56:00 +01:00
707bef5326 add palette generation experiment 2021-11-14 17:21:42 +01:00
7aef99d186 update microw8 resolution, now 320x240 2021-11-14 17:10:48 +01:00
e23b98c1ab implement support for start function 2021-11-13 22:27:07 +01:00
29b8c04700 add support for (void) block expression 2021-11-13 17:43:04 +01:00
e4bf292e47 add hex constants and data segments 2021-11-12 22:08:53 +01:00
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