Commit Graph

1180 Commits

Author SHA1 Message Date
c87682b77f fix padding
used to be that type and layout were hidden
now type is gone and layout is an explicit instance, so 0 overhead
2015-11-04 10:34:03 +02:00
5bddbfbb62 rename word_length to padded length
with word_length i was never sure if it was the padded version or not
2015-11-04 10:33:10 +02:00
0f8f0a681c fix padding to only consider layout (1 word) 2015-11-03 16:22:50 +02:00
ca1dc36e3d method marking for labels 2015-11-03 16:22:24 +02:00
6882f39645 fixing lengths 2015-11-03 16:21:50 +02:00
14f8b42015 fix instruction order, now with the save
and finally formatted in statements too
2015-11-03 11:25:02 +02:00
dae12c532c fix fragment tests
they mostly got longer due to the added store instruction + label
2015-11-03 11:23:58 +02:00
5a8d7d313f little more tests 2015-11-03 11:23:15 +02:00
03979156db fix statements
as they go
2015-11-02 20:12:01 +02:00
7eebc775d6 let helper output correct version in case of error 2015-11-02 20:11:40 +02:00
23e09b7149 more dubious test hacking 2015-11-02 17:32:06 +02:00
0094a89707 fix spurious test
or maybe hack is more correct
2015-11-02 11:34:08 +02:00
7d7b7ca995 adding types to layout
so we can test assignment
2015-10-29 12:45:29 +02:00
e4201143b3 last fixes from source change 2015-10-28 21:40:48 +02:00
5d3aace459 use module compile function 2015-10-28 21:40:22 +02:00
bdb4a40f9c only string and ast allowed as source 2015-10-28 21:38:23 +02:00
ef6cb2a069 use instruction steam from message
had been attached there last week, but was still used mainly through
the source (which i’m trying to remove)
2015-10-28 14:33:38 +02:00
142c36a374 fix return statement to actually return
fix a million tests
2015-10-27 21:04:46 +02:00
79cf59c4e2 still finding index errors 2015-10-27 18:45:56 +02:00
444ad75e1e some message tests, all ok 2015-10-27 18:08:40 +02:00
bb908dcf76 adding arg length to call sequence
and fix all the tests that affects
2015-10-27 16:21:11 +02:00
bd171d091a fix tests for indexed messages and frames
index_length changes index a bit
but from now on changes to layouts should push the index automatically
just have to set the index while calling now
2015-10-27 16:05:50 +02:00
49b25ad971 fixed fragment tests 2015-10-27 11:00:48 +02:00
638c367e00 more class methods 2015-10-26 22:23:06 +02:00
5b7c98f50b order requires 2015-10-26 22:22:38 +02:00
abaa56fbba add create_method for layout too
as for class, same signature
some more test for behavior
2015-10-26 17:24:28 +02:00
9d0b264b79 minors 2015-10-26 17:23:35 +02:00
55dd5f74fc fixed layout inspect bug 2015-10-26 15:07:59 +02:00
885aa765d6 still fixing index bugs
the indexed_length got written wrong
which is why the layout methods didn’t work
Now all indexes are 1 based, even fake men, where we just ignore 0
2015-10-26 14:33:36 +02:00
9f4952b5ac create behavior module
behavior handles instance methods (add/remove/find)
and shall be included in layout later too
2015-10-26 13:27:56 +02:00
b76c140d32 some class field tests 2015-10-26 13:08:40 +02:00
4cadfc9ea9 shortening some methods, removing object prefix 2015-10-26 12:58:38 +02:00
d2c670b31a fixing offset bug
found by tests that overwrite the attribute
2015-10-26 12:57:54 +02:00
96f43dcfda also giving word it's length
still hacked as char per word, but should be easy enough to fix when…
2015-10-26 12:23:52 +02:00
979ebb7612 fixing indexed stuff
layout returns layout as first name (offsets indexes)
object internal length is gone  into layouts functionality
2015-10-26 12:22:32 +02:00
df62b75c6f adding an instance for the length of lists 2015-10-25 20:44:03 +02:00
c1ee67038c internally objects stop changing size 2015-10-25 20:43:13 +02:00
60098257e9 use include so we can test with is_a
using the well documented included/extend trick
2015-10-25 19:16:12 +02:00
b7d0ee8f99 wit metaclass and class functions
needs to go back to arrays first
2015-10-25 15:40:12 +02:00
0d001ec0fc rename super_clsas to super_class_name
as it should have been
2015-10-25 15:32:38 +02:00
99870c92d8 linking new tests in 2015-10-25 14:03:47 +02:00
7de2f913a0 more class tests 2015-10-25 13:19:18 +02:00
12e31f28c2 fix and test class definition 2015-10-25 12:31:35 +02:00
7a690cd38d fix to_s 2015-10-25 12:10:56 +02:00
405a6935d4 lots of stuff to move to linked lists
and remove the blocks
more position stuff coming, but the list part should be ok
2015-10-24 17:12:36 +03:00
a871f96630 remove passes and achieve the same by translating 2015-10-24 11:42:36 +03:00
57f37ec023 removed blocks and moved to labels
somewhat easier to understand the code as a linked list
relatively painless change, considering
2015-10-23 21:27:36 +03:00
6754518daf prune builtin
will need much less, many more things can be expressed in soml
2015-10-23 15:13:05 +03:00
147a77f4e4 fix arm test by fixing arm 2015-10-23 14:46:27 +03:00
897e11ce80 store three versions of the code in method
source, instructions and binary
2015-10-23 14:41:47 +03:00