Commit Graph

  • 0e7ea508cd add memory.fill/memory.copy intrinsics master dranke 2022-06-11 23:31:02 +02:00
  • 0a0d90c801 add some docs, allow leading zeros in literals dranke 2022-05-08 19:21:19 +02:00
  • c22297ea82 fix <| not parsing dranke 2022-05-08 00:06:38 +02:00
  • c59b35f9c6 fix #<= and #>= not parsing dranke 2022-05-07 23:59:40 +02:00
  • 2cf47085c1 add support for +:= etc. dranke 2022-05-07 23:51:25 +02:00
  • 01d64baaab implement binop-assignment (+= etc.) dranke 2022-05-07 20:30:16 +02:00
  • a52fe53a01 fix let lazy/inline chains re-using the same variable dranke 2022-05-07 18:33:26 +02:00
  • 1e746be750 add support for 'if else', change hex escapes to '\ab' dranke 2022-05-06 09:03:13 +02:00
  • 4cfc7ae8a8 add support for escaped strings + (multi-)char literatls dranke 2022-05-06 01:23:31 +02:00
  • aac7bbd878 implement _f literal suffix as shortcut for NUM as f32 dranke 2022-04-10 23:58:18 +02:00
  • ebc701e2f2 fix != operator failing to parse dranke 2022-04-09 08:51:23 +02:00
  • 557c3a8426 always return dependencies, even when hitting an error dranke 2022-03-05 21:02:58 +01:00
  • 896385654a return dependencies for compiling cwa source dranke 2022-02-27 21:26:55 +01:00
  • cda3eb868b fix "i?SCREEN = 0" being parsed as "i?(SCREEN = 0)" dranke 2022-02-26 21:00:01 +01:00
  • 5f316cf17d add new features to readme dranke 2022-02-26 12:14:31 +01:00
  • e608d3bb4b implement const dranke 2022-02-26 11:46:38 +01:00
  • b41b7f250c add include support dranke 2022-02-24 22:30:34 +01:00
  • 71de622634 add source filename to errors to prepare for includes dranke 2022-02-25 23:13:11 +01:00
  • f433948d4e update dependencies dranke 2022-02-24 23:59:14 +01:00
  • 132aea3996 add load/store intrinsics dranke 2022-02-23 23:52:44 +01:00
  • 1b434f6b30 clippy fixes dranke 2022-02-22 22:40:45 +01:00
  • ce8435e3dc add short section on global variables dranke 2022-01-09 22:09:59 +01:00
  • e58b13c8ee finish first rough version of syntax docs dranke 2022-01-08 22:32:41 +01:00
  • ac9b6cd4ca almost done with rough syntax docs dranke 2022-01-08 17:49:19 +01:00
  • 0e403ed82e continue syntax docs dranke 2022-01-08 16:17:05 +01:00
  • 7e4764bca8 start to document syntax dranke 2022-01-08 13:17:34 +01:00
  • 196719b35e handle variable scopes correctly, add option to write name section dranke 2021-12-11 23:25:50 +01:00
  • f02d1de8a7 remove short memory op as it causes parsing ambiguities dranke 2021-11-27 22:39:56 +01:00
  • c0140d0671 fix two exponential parse time blow-ups dranke 2021-11-21 22:41:00 +01:00
  • 788a5657b5 some more experiments toward a better palette dranke 2021-11-21 13:35:39 +01:00
  • 640c7fff52 add ability to include file as data dranke 2021-11-21 13:34:15 +01:00
  • 8027a8849b unoptimized new "correct" attempt at palette dranke 2021-11-17 20:45:51 +01:00
  • 60bd3a7874 update example in readme dranke 2021-11-16 23:34:47 +01:00
  • d62bc8bf86 make curlywas available as a library dranke 2021-11-16 23:30:25 +01:00
  • e706e75db1 final (?) small tweak, removing forced saturation limit dranke 2021-11-15 21:34:55 +01:00
  • 69d395f6eb fix greyscale palette dranke 2021-11-15 20:42:11 +01:00
  • 90a1c21b22 very slightly increase brightness of gradients dranke 2021-11-15 18:42:01 +01:00
  • 381b681115 optimize gradient generation code dranke 2021-11-15 18:33:38 +01:00
  • fdc98ddf17 small tweak to prevent 100% saturation dranke 2021-11-15 18:09:34 +01:00
  • 855c7f61b7 fix completely broken math dranke 2021-11-15 15:33:18 +01:00
  • c2ae6cebe6 increased saturation dranke 2021-11-15 14:33:23 +01:00
  • dc74ff122c add test for sweetie shading dranke 2021-11-14 23:55:42 +01:00
  • a1b1c01d1d add sweetie palette dranke 2021-11-14 23:36:54 +01:00
  • fb057bec11 new version of palette test dranke 2021-11-14 22:56:00 +01:00
  • 707bef5326 add palette generation experiment dranke 2021-11-14 17:21:42 +01:00
  • 7aef99d186 update microw8 resolution, now 320x240 dranke 2021-11-14 17:10:48 +01:00
  • e23b98c1ab implement support for start function dranke 2021-11-13 22:27:07 +01:00
  • 29b8c04700 add support for (void) block expression dranke 2021-11-13 17:43:04 +01:00
  • e4bf292e47 add hex constants and data segments dranke 2021-11-12 22:08:53 +01:00
  • 51cf8a8d28 implement unsigned operators dranke 2021-11-11 23:04:41 +01:00
  • d3e882cba0 add take left operator, sizecoded wasm4 skip ahead to 512 bytes dranke 2021-11-11 21:20:18 +01:00
  • ee746d1cea optimize skipahead some more dranke 2021-11-10 22:48:49 +01:00
  • 911c2e43ad move examples into subfolder, added wasm4 skip_ahead dranke 2021-11-10 22:37:26 +01:00
  • e9f115ee95 implement table of intrinsics dranke 2021-11-09 22:16:40 +01:00
  • 41ec5a770f only emit global section when not empty dranke 2021-11-08 23:15:29 +01:00
  • 63012947f3 add global vars + i64 & f64 support dranke 2021-11-07 22:20:24 +01:00
  • f0474a3bbc add simple rng test dranke 2021-11-07 10:36:49 +01:00
  • 0a8f4e1d8f add license and initial README.md dranke 2021-11-06 11:51:40 +01:00
  • 387f389c28 ported technotunnel dranke 2021-11-03 23:59:40 +01:00
  • 4793c4eb69 added support for function imports dranke 2021-11-03 22:07:55 +01:00
  • 4f70a65866 uw8.ram -> env.memory dranke 2021-11-03 09:14:35 +01:00
  • 75531bbc2f time is now a parameter to the tic function instead of a mutable import dranke 2021-11-02 23:27:15 +01:00
  • 2d901e4c61 fix branches inside if dranke 2021-11-02 00:03:34 +01:00
  • b47f1ef2bc can compile uw8loader dranke 2021-11-01 22:59:59 +01:00
  • d0ee844d8c implemented if dranke 2021-11-01 09:21:36 +01:00
  • 02b8ff860b finish porting to new parser dranke 2021-11-01 00:10:40 +01:00
  • 607c3c7a28 improve compile times dranke 2021-10-31 21:20:13 +01:00
  • 421eefb494 parse trainride as well dranke 2021-10-31 20:49:46 +01:00
  • 52e8210e09 warptunnel parses dranke 2021-10-31 19:07:45 +01:00
  • 6f5d068bd6 new parser successfully parses xorscroll.hw dranke 2021-10-31 18:46:34 +01:00
  • d2b7719580 more progress on the new parser dranke 2021-10-31 18:33:33 +01:00
  • 7ef98f0e96 try out chumsky parser lib - wip dranke 2021-10-30 23:52:09 +02:00
  • 2267eed21c got trainride working dranke 2021-10-27 22:18:34 +02:00
  • 23d926dbb3 implement some initial f32 support dranke 2021-10-27 20:03:23 +02:00
  • 7f5dd9aa80 some tidying up dranke 2021-10-26 21:02:57 +02:00
  • af1c8f999b first running uw8 module dranke 2021-10-26 20:29:57 +02:00
  • 3b4eeb5f9c successfully compile basic test to wasm dranke 2021-10-25 21:12:56 +02:00
  • b8b0a21ef9 protect agains division by zero in constant folding dranke 2021-10-24 22:56:10 +02:00
  • d4a5d62255 implement type checking and constand folding for simple example dranke 2021-10-24 22:48:04 +02:00
  • e6a6fd1535 initial commit, correctly parses simple example dranke 2021-10-24 20:24:24 +02:00