Chris Pressey
|
4bba75857f
|
--output cmdline argument, serialize() returns an array of bytes.
|
2018-09-06 16:18:41 +01:00 |
|
Chris Pressey
|
3fd7e52bc7
|
Reduce number of errors under Python 3 another smidge.
|
2018-09-06 14:21:29 +01:00 |
|
Chris Pressey
|
9b1d71a73e
|
Correct some text in the test suite.
|
2018-05-08 12:00:55 +01:00 |
|
Chris Pressey
|
d037401b18
|
Add three tests. One fails when it shouldn't.
|
2018-04-25 15:55:36 +01:00 |
|
Chris Pressey
|
76ec7224cd
|
Add failing tests for gotos inside runtime-context-making blocks.
|
2018-04-25 13:38:54 +01:00 |
|
Chris Pressey
|
4986454733
|
Support save'ing user-defined locations.
|
2018-04-25 13:27:47 +01:00 |
|
Chris Pressey
|
80c46485f1
|
Saving anything except a trashes a .
|
2018-04-25 13:06:11 +01:00 |
|
Chris Pressey
|
8df16d7a2a
|
Another passing test which is a little surprising.
|
2018-04-20 14:35:41 +01:00 |
|
Chris Pressey
|
0f41857b39
|
Add two simple tests for save. Surprisingly, they both pass.
|
2018-04-20 13:36:08 +01:00 |
|
Chris Pressey
|
4d1f9d0f3c
|
First cut at implementing save . Only the most basic tests though.
|
2018-04-19 13:18:52 +01:00 |
|
Chris Pressey
|
5fcbfa1d21
|
Analyze reads and updates of tables.
|
2018-04-18 15:45:47 +01:00 |
|
Chris Pressey
|
0c22944afc
|
Able to parse, but not yet able to analyze, other table accesses.
|
2018-04-18 14:21:03 +01:00 |
|
Chris Pressey
|
e565234d28
|
Support for shl foo and shr foo where foo is a byte storage.
|
2018-04-18 12:01:53 +01:00 |
|
Chris Pressey
|
3c7d95a724
|
Support for copy [ptra]+y, [ptrb]+y to indirect LDA indirect STA
|
2018-04-18 10:57:57 +01:00 |
|
Chris Pressey
|
4f28f43bde
|
The existing analysis is actually sufficient. Document why this is.
|
2018-04-18 10:25:23 +01:00 |
|
Chris Pressey
|
f9c3b56246
|
Work out routine-vector type compatibility, w/ one failing test.
|
2018-04-18 10:13:15 +01:00 |
|
Chris Pressey
|
b9fb26320c
|
Add some failing tests for looping on the n flag.
|
2018-03-29 13:33:06 +01:00 |
|
Chris Pressey
|
1f992f8dbd
|
Support of NOP opcode.
|
2018-03-28 14:52:16 +01:00 |
|
Chris Pressey
|
b91c3ed2f1
|
Add three more tests. Ensure they pass.
|
2018-03-26 17:40:43 +01:00 |
|
Chris Pressey
|
ceaae962d5
|
Make tests pass. Add two more tests towards completeness of spec.
|
2018-03-26 12:48:57 +01:00 |
|
Chris Pressey
|
d88757c32b
|
Rudimentarily document for ; add failing test cases for it.
|
2018-03-23 17:13:46 +00:00 |
|
Chris Pressey
|
b79059faa4
|
Two seperate words looks better.
|
2018-03-14 09:51:24 +00:00 |
|
Chris Pressey
|
b073fe54a0
|
Tests for the downto variant too.
|
2018-03-13 17:49:48 +00:00 |
|
Chris Pressey
|
7a3b52dc1e
|
More correct determination of tail position for purposes of goto .
|
2018-03-13 17:00:49 +00:00 |
|
Chris Pressey
|
5f62de11c2
|
Add failing test for multiple gotos that are all in tail position.
|
2018-03-13 13:33:30 +00:00 |
|
Chris Pressey
|
f73a2313bd
|
Add some failing tests for analyzing "for".
|
2018-03-08 17:17:49 +00:00 |
|
Chris Pressey
|
bda0202dee
|
Confirm that AND clips the range and INC/DEC invalidate it.
|
2018-03-06 15:42:12 +00:00 |
|
Chris Pressey
|
1eaec602e3
|
The exception object now contains an AST node, renders name.
|
2018-03-06 14:39:47 +00:00 |
|
Chris Pressey
|
e44c802314
|
Syntax errors have line numbers in them now.
|
2018-03-06 12:23:57 +00:00 |
|
Chris Pressey
|
15fa4889e7
|
Add some more tests (failing currently).
|
2018-02-16 12:28:11 +00:00 |
|
Chris Pressey
|
0687da80d5
|
Some headway on context.assert_in_range().
|
2018-02-14 15:54:57 +00:00 |
|
Chris Pressey
|
93e2dada16
|
Check for table size (in parser, thus tests are for syntax.)
|
2018-02-14 13:53:22 +00:00 |
|
Chris Pressey
|
aa5b06980c
|
Add some initial failing tests.
|
2018-02-14 13:41:48 +00:00 |
|
Chris Pressey
|
55331e9c54
|
Statics are always writeable. Statics are always meaningful.
|
2018-02-09 13:35:59 +00:00 |
|
Chris Pressey
|
ca1c877a60
|
Support indirect refs in st, e.g. st a, [ptr] + y .
|
2018-02-09 11:23:18 +00:00 |
|
Chris Pressey
|
b20b664748
|
Implement the "union rule for trashes" when analyzing if blocks.
|
2018-02-08 14:04:51 +00:00 |
|
Chris Pressey
|
3f1f3bf16e
|
Set a location as touched when trashed with a trash instruction.
|
2018-02-08 13:43:06 +00:00 |
|
Chris Pressey
|
f4befb45d3
|
Add more tests, which show inconsistent treatment of trashes.
|
2018-02-08 13:34:03 +00:00 |
|
Chris Pressey
|
cde2824c44
|
Articulate the "union rule" for trashes in if, add failing tests.
|
2018-02-08 12:46:28 +00:00 |
|
Chris Pressey
|
f92e1f15bf
|
Tired: copy [ptr]+y, a. Wired: ld a, [ptr]+y.
|
2018-02-08 11:58:24 +00:00 |
|
Chris Pressey
|
34daad0e56
|
Make ld parse to a IndexedRef or IndirectRef (latter still todo.)
|
2018-02-08 11:04:11 +00:00 |
|
Chris Pressey
|
ed1ed3eb5d
|
Always analyze before compiling.
|
2018-02-06 16:14:44 +00:00 |
|
Chris Pressey
|
9778e083c1
|
Move test, add test, add assertion.
|
2018-02-06 11:52:50 +00:00 |
|
Chris Pressey
|
70ecd52e8a
|
Retain some syntax compatibility: make table a postfix operator.
|
2018-02-06 11:34:21 +00:00 |
|
Chris Pressey
|
612ae588f7
|
Add some tests, fix some bugs, show that one bug remains.
|
2018-02-06 10:05:56 +00:00 |
|
Chris Pressey
|
0be721667a
|
Kind-of not-pretty syntax refactor to support adding typedefs.
|
2018-02-05 17:01:25 +00:00 |
|
Chris Pressey
|
20c824743e
|
Fix table access bug where index wasn't required to be initialized.
|
2018-02-05 12:35:19 +00:00 |
|
Chris Pressey
|
7dfd2cfe0c
|
Allow copying a routine directly into a vector table.
|
2018-02-05 12:04:28 +00:00 |
|
Chris Pressey
|
bbd3a84c00
|
Retain silly 'name inside the type' syntax (a la C) for now.
|
2018-02-05 11:18:35 +00:00 |
|
Chris Pressey
|
a082aee001
|
NOt 100% sure it's correct, but it seems close.
|
2018-02-02 17:56:50 +00:00 |
|