Commit Graph

70 Commits

Author SHA1 Message Date
ebc701e2f2 fix != operator failing to parse 2022-04-09 08:51:23 +02:00
557c3a8426 always return dependencies, even when hitting an error 2022-03-05 21:02:58 +01:00
896385654a return dependencies for compiling cwa source 2022-02-27 21:26:55 +01:00
cda3eb868b fix "i?SCREEN = 0" being parsed as "i?(SCREEN = 0)" 2022-02-26 21:00:01 +01:00
5f316cf17d add new features to readme 2022-02-26 12:14:31 +01:00
e608d3bb4b implement const 2022-02-26 11:46:38 +01:00
b41b7f250c add include support 2022-02-25 23:38:50 +01:00
71de622634 add source filename to errors to prepare for includes 2022-02-25 23:13:11 +01:00
f433948d4e update dependencies 2022-02-24 23:59:14 +01:00
132aea3996 add load/store intrinsics 2022-02-23 23:52:44 +01:00
1b434f6b30 clippy fixes 2022-02-22 22:40:45 +01:00
ce8435e3dc add short section on global variables 2022-01-09 22:09:59 +01:00
e58b13c8ee finish first rough version of syntax docs 2022-01-08 22:32:41 +01:00
ac9b6cd4ca almost done with rough syntax docs 2022-01-08 17:49:19 +01:00
0e403ed82e continue syntax docs 2022-01-08 16:17:05 +01:00
7e4764bca8 start to document syntax 2022-01-08 13:17:34 +01:00
196719b35e handle variable scopes correctly, add option to write name section 2021-12-11 23:25:50 +01:00
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