Commit Graph

81 Commits

Author SHA1 Message Date
Andrew Alderwick 23a514b3ba Support nested comments in asma too. 2021-12-29 11:59:37 +00:00
Andrew Alderwick 86674da93e Bring etc/asma.moon up to date. 2021-12-29 11:59:37 +00:00
Andrew Alderwick 55f448fb77 Add automated test harness (corresponding Uxntal to follow). 2021-12-29 02:00:47 +00:00
neauoire b873f04789 Added tal syntax highlight for nano 2021-11-26 08:11:18 -08:00
Andrew Alderwick c3ac41c41d Change "include" word into ~ rune for includes. 2021-11-17 22:06:00 +00:00
Andrew Alderwick 5b3b08e526 Exclude projects/assets in asma-test.sh 2021-11-07 00:48:14 +00:00
Andrew Alderwick fe22b6288e asma fix: disallow 1 and 3 chars in hex literals and raw hex 2021-11-03 19:38:18 +00:00
Andrew Alderwick d5f3bc376e Raise errors on hex literals with zero length 2021-10-30 07:48:41 +01:00
Andrew Alderwick 035e0d8a3a Fixed error message when zero-page label is not found 2021-10-28 23:12:49 +01:00
neauoire 991a18212a Colorize strings in Subl 2021-10-21 12:27:44 -07:00
Andrew Alderwick 511aa3c5a9 Improved error message for unrecognised token 2021-10-20 17:35:41 +01:00
Andrew Alderwick 317d71654e Pass output file argument to asma too 2021-10-13 22:58:27 +01:00
Andrew Alderwick abf95337a1 Added test for infinite recursion of includes. 2021-10-07 23:31:40 +01:00
Andrew Alderwick 9606f74b19 Corrected bad macro name. 2021-10-07 23:27:19 +01:00
Andrew Alderwick 26b90ac69c Added detection of recursive include errors. 2021-10-07 23:26:39 +01:00
Andrew Alderwick dacad9df55 Tiny fix. 2021-10-07 22:39:53 +01:00
Andrew Alderwick 80102ff212 Simplified asma-test.sh. 2021-10-07 22:38:25 +01:00
Andrew Alderwick b78d9e1446 Reimplemented software/asma with reading input filename from Console. 2021-10-07 22:00:54 +01:00
Andrew Alderwick d73d25f2c1 Run asma tests in repo root directory 2021-10-06 06:12:27 +01:00
Andrew Alderwick 3eb13620a8 Excluded library snippets from asma-test.sh 2021-08-30 23:32:24 +01:00
neauoire 90540742ae Standardizing fns names before merge 2021-08-29 14:41:05 -07:00
Andrew Alderwick 4d535ebb46 Swapped return and short flags in advance of uxn.c refactoring 2021-08-29 22:28:30 +01:00
neauoire 83de614e53 Do no display unused macros anymore 2021-08-28 10:30:50 -07:00
Andrew Alderwick e4416264e8 Remove opcode labels by default 2021-08-20 07:06:28 +01:00
neauoire 5167a103ec Fixed issue with null vectors 2021-08-17 19:30:34 -07:00
Andrew Alderwick 1b68169cee Merged LIT and BRK into opcode zero, added INC opcode 2021-08-17 22:48:48 +01:00
Andrew Alderwick 5d094603b0 Fixed asma-test.sh 2021-08-17 20:33:53 +01:00
Andrew Alderwick cb13589531 Fixed asma-test.sh 2021-08-10 19:25:42 +01:00
Andrew Alderwick 76470ce3ee Fixed indentation in asma-test.sh 2021-08-10 19:23:53 +01:00
Andrew Alderwick 0a69a3417d Updated mkuxn-fast to match uxn.c changes 2021-08-05 18:38:25 +01:00
neauoire 44d584dfdb Re-added the stack bounds clamp 2021-08-04 20:14:53 -07:00
neauoire 59ea5c0a1a Added static to uxn opcodes 2021-08-04 20:06:46 -07:00
Andrew Alderwick a58ffb9828 Updated mkuxn-fast scripts 2021-08-02 06:51:51 +01:00
neauoire 4f822f55f3 Prefixed uxn functions 2021-08-01 14:46:43 -07:00
neauoire 7b7f4fd0f7 System now carries the debug flag, System/0xf is now stopping eval 2021-07-28 10:29:09 -07:00
Andrew Alderwick 4622a8a061 Created working stack space in case of previous evaluxn overflow 2021-07-17 10:00:38 +01:00
Andrew Alderwick 742c52265f Updated mkuxn-fast script to match uxnasm changes 2021-07-17 10:00:38 +01:00
Andrew Alderwick 3e395e56b0 Updated asma script to match source code changes 2021-07-07 20:23:06 +01:00
neauoire 9fdb49e0ed Comment will expect a space by the paren in sublime syntax highlight 2021-06-29 12:12:18 -07:00
neauoire a683375567 Improved syntax highlight 2021-06-20 09:21:15 -07:00
Andrew Alderwick 064f7745d4 Added reporting of division by zero errors rather than crashing 2021-06-08 22:58:02 +01:00
neauoire fbc0b762c9 Renamed USM to TAL files 2021-05-31 14:50:36 -07:00
neauoire d163c43201 Improved uxncli and moved all demos into examples 2021-05-26 10:02:13 -07:00
Andrew Alderwick 6d18549915 Formatted uxn-fast.c according to clang-format 2021-05-23 19:05:17 +01:00
Andrew Alderwick aeddd9e0f5 Added src/uxn-fast.c generator script 2021-05-23 17:33:00 +01:00
Andrew Alderwick 12792d101d Added invalid source code tests to asma-test.sh 2021-05-16 10:58:00 +01:00
Andrew Alderwick 28d5284695 Added test suite for asma 2021-05-16 10:20:42 +01:00
Andrew Alderwick 46741bae23 Added documentation for Asma helper script 2021-05-16 10:20:42 +01:00
Andrew Alderwick 4d8b898142 Removed test file from previous asma version 2021-05-16 10:20:42 +01:00
Andrew Alderwick 300f3dfa75 Don't preseed devices in label tree. 2021-05-15 18:25:06 +01:00