Irmen de Jong
|
6367c6d116
|
add support for second alternative emulator (box16 in case of cx16 target)
|
2021-07-05 22:47:51 +02:00 |
|
Irmen de Jong
|
a7736d88a9
|
got rid of Module.isLibraryModule variable, is now function that derives it from source path
|
2021-07-04 15:44:25 +02:00 |
|
Irmen de Jong
|
049dbf5a78
|
improve compiler error when defining duplicate block names
|
2021-07-04 15:14:39 +02:00 |
|
Irmen de Jong
|
95a62fcdd1
|
tidy up todo doc
|
2021-07-02 21:47:27 +02:00 |
|
Irmen de Jong
|
7872d20554
|
rename spelling mistake
|
2021-07-02 20:58:17 +02:00 |
|
Irmen de Jong
|
9bd3a6758a
|
improve testability: use error returnvalues instead of using exitProcess()
|
2021-07-02 00:11:21 +02:00 |
|
Irmen de Jong
|
2cb1560bbd
|
Merge pull request #49 from meisl/master
A few automatic tests with examples, *of the whole process*...
|
2021-06-30 23:30:10 +02:00 |
|
meisl
|
006059438f
|
+ same warning on the other "TestCompilerXyz" file
|
2021-06-28 18:49:01 +02:00 |
|
meisl
|
84ea3b9788
|
+ compiler/test/TestCompilerOnExamples.kt: *not actually unit tests - just a kludge!* (but better than nothing)
|
2021-06-28 18:42:05 +02:00 |
|
meisl
|
b667abde10
|
+ compiler/test/TestCompilerOnCharLit.kt
|
2021-06-28 18:24:35 +02:00 |
|
Irmen de Jong
|
aa10997171
|
upgrade to kotlin 1.5.20
|
2021-06-25 19:38:44 +02:00 |
|
Irmen de Jong
|
7880ac1909
|
wording and version
|
2021-06-24 21:34:11 +02:00 |
|
Irmen de Jong
|
f53848b4b9
|
wording and version
|
2021-06-24 21:25:35 +02:00 |
|
Irmen de Jong
|
82f2f38680
|
Merge pull request #48 from meisl/issue40(EOF,EOL)
* fix 47, add tests
|
2021-06-19 01:55:44 +02:00 |
|
meisl
|
dcc2549574
|
* fix 47, add tests
|
2021-06-18 21:55:03 +02:00 |
|
Irmen de Jong
|
cfe4753913
|
Merge pull request #45 from meisl/issue40(EOF,EOL)
Issue #40, EOF/EOL
|
2021-06-18 20:22:59 +02:00 |
|
meisl
|
fcb1a7e4d4
|
* #40: fix grammar rules module and block s.t. we don't need a "synthesized double EOF" (behavior remains exactly the same)
|
2021-06-14 22:17:30 +02:00 |
|
meisl
|
ce76a7dfa5
|
* #40: fix grammar wrt line endings - tests pass
|
2021-06-14 22:04:22 +02:00 |
|
meisl
|
7c1de81861
|
* #40: fix mixed line endings test, now intentionally failing (!): also test sole \r AND do not allow any recovery, neither from parser not lexer.
|
2021-06-14 22:02:26 +02:00 |
|
meisl
|
eddad20acc
|
Merge remote-tracking branch 'remotes/origin/master' into issue40(EOF,EOL)
|
2021-06-13 22:56:24 +02:00 |
|
meisl
|
7daad57862
|
+ #40: test for mixed (Unix/Win/Mac) line endings - *TODO: test doesn't actually fail with old grammar, but a built jar does - WHY?!*
|
2021-06-13 22:49:54 +02:00 |
|
meisl
|
1468049fe9
|
+ #40: test that (module-level) blocks *before the last* still must have a newline after their closing }
|
2021-06-13 22:43:27 +02:00 |
|
meisl
|
3b91e59a79
|
* #40: refactor tests
|
2021-06-13 20:28:01 +02:00 |
|
meisl
|
3496a30528
|
* #40: put back in fix for EOL-after-block - tests pass
|
2021-06-13 20:10:35 +02:00 |
|
meisl
|
32bad5df15
|
+/* #40: add tests; temporarily undo fix for EOL-after-block so we can see that tests actually fail
|
2021-06-13 20:08:50 +02:00 |
|
Irmen de Jong
|
3f58eca1be
|
updated gradle scripts (fixed warnings), updated some library dependencies
|
2021-06-13 18:10:07 +02:00 |
|
meisl
|
2350843d1d
|
Merge remote-tracking branch 'remotes/origin/master' into issue40(EOF,EOL)
|
2021-06-13 16:06:50 +02:00 |
|
Irmen de Jong
|
a2588a178c
|
added some simple unit tests to the ast parser
|
2021-06-13 14:59:57 +02:00 |
|
meisl
|
e5292696c4
|
- #40 grammar: remove obsolete note about line endings
|
2021-06-13 14:38:25 +02:00 |
|
meisl
|
34b2a65ccb
|
Merge branch 'irmen:master' into issue40(EOF,EOL)
|
2021-06-12 20:29:37 +02:00 |
|
meisl
|
3aa3659bc7
|
* #40 grammar: handle different EOLs (Win, Unix, Mac) purely in grammar
|
2021-06-12 20:24:15 +02:00 |
|
meisl
|
b8117394c0
|
* #40 grammar: don't require EOL after blocks, so .p8 files need not end with that
|
2021-06-12 17:52:44 +02:00 |
|
Irmen de Jong
|
fd2bbd2b59
|
no longer allow subroutine name same as its block name due to asm symbol scoping issues
|
2021-06-12 17:31:09 +02:00 |
|
Irmen de Jong
|
127c470746
|
add some explanation about Cx16 v38 - v39 issue
|
2021-06-12 15:48:04 +02:00 |
|
Irmen de Jong
|
f2844bdf1a
|
fix crash when using labels in pointerexpression lab+index
|
2021-06-10 00:44:12 +02:00 |
|
Irmen de Jong
|
c5bfef4264
|
slight improvement on scope doc, added doc example for %asminclude/%asmbinary
|
2021-06-09 23:46:07 +02:00 |
|
Irmen de Jong
|
73863acc12
|
version bump
|
2021-06-06 10:50:05 +02:00 |
|
Irmen de Jong
|
19e99204b9
|
fix asm symbol name scoping bug and add unit tests for this
|
2021-06-04 22:42:28 +02:00 |
|
Irmen de Jong
|
13f5b94c3e
|
Clarified instructions of how to obtain the compiler. Fixed sphinx css config issue.
|
2021-06-03 21:21:44 +02:00 |
|
Irmen de Jong
|
3a2498401d
|
working on unit tests for symbol scope bug
|
2021-06-03 21:21:38 +02:00 |
|
Irmen de Jong
|
53b20ba625
|
name
|
2021-06-01 22:22:58 +02:00 |
|
Irmen de Jong
|
e7f6f0950f
|
identified asm symbol name scoping bugs
|
2021-06-01 22:21:50 +02:00 |
|
Irmen de Jong
|
9fbe1b38a5
|
fix old block syntax in ast print routine
|
2021-06-01 22:08:23 +02:00 |
|
Irmen de Jong
|
078485134d
|
split up unittests files
|
2021-06-01 22:07:39 +02:00 |
|
Irmen de Jong
|
67b1766e32
|
don't use ./ prefix for %asmbinary paths
|
2021-06-01 19:30:53 +02:00 |
|
Irmen de Jong
|
d4b69ac79c
|
improved repeat counter vars allocation (re-use var if possible)
|
2021-05-30 15:30:34 +02:00 |
|
Irmen de Jong
|
e61a2d7083
|
slightly optimized repeat loop asmgen
|
2021-05-30 13:10:05 +02:00 |
|
Irmen de Jong
|
c03f6604af
|
added free words counting method to zeropage
|
2021-05-30 00:55:11 +02:00 |
|
Irmen de Jong
|
572bb38ddb
|
update to kotlin 1.5.10
|
2021-05-29 15:25:17 +02:00 |
|
Irmen de Jong
|
42c5c0cb9f
|
start of cx16 colorbars example
|
2021-05-26 22:13:23 +02:00 |
|