06cfba7c58
get sod to output lists and dicts
2015-05-20 10:57:20 +03:00
8ec8a519ba
externalize boot process
...
Booting is complicated, make an own file for it
2015-05-19 20:29:33 +03:00
4e3640e432
shift code from class to module
...
as class derives from module, module carries
much of the code that one thinks of as class
class only handles allocation really
2015-05-18 12:35:01 +03:00
cfc2c474b2
test compatibility layer
...
test from and to std/parfait objects
for list and word for now
moved some of that code to virtual, out of parfait
2015-05-18 10:47:29 +03:00
f7eb888c36
refactoring virtual parfait code
2015-05-18 10:21:23 +03:00
d348e7afe7
more parfait ripples
...
changes due to previous changes in parfait api
2015-05-18 10:10:31 +03:00
cff827ad42
final word fix
...
that does the parfait
2015-05-17 15:34:45 +03:00
e70bfb9f7a
many minor parfait fixes
2015-05-17 15:34:29 +03:00
3bdba119c8
fix the list after object fixes
...
start index at 1, but don’t overwrite layout,
so add one
2015-05-17 14:56:06 +03:00
3b268df920
init with nil layout
...
making the default length 1 (the nil layout)
2015-05-17 14:55:10 +03:00
701b0bc011
fix object grow
...
and write a test (and another one …)
2015-05-17 14:44:48 +03:00
1114f06921
rename old layout()
...
new is called get_layout, but keep old around for
checking
2015-05-17 14:41:18 +03:00
350d708fd3
introduce some constants
2015-05-17 14:40:02 +03:00
8fa501fb91
fix object compiletime
...
and write some tests for it
2015-05-17 14:38:25 +03:00
fe2be323d8
improve boot
...
also move to superclass not superclass_name in class
Makes ripples
2015-05-16 20:16:49 +03:00
7085dee510
array to list conversion
...
start on layouts
2015-05-16 14:01:48 +03:00
bee269f7a8
just renaming
2015-05-16 12:54:11 +03:00
9376b8bc16
work on ObjectWriter
...
Back to the root! but lots of adjusting
ObjectWriter takes machine, machine has space
Virtual constants become Parfait::Objects etc
2015-05-16 12:53:10 +03:00
9d8dc68bf4
fixing all tests
2015-05-15 21:11:44 +03:00
f691ba1b20
using sof is_value
2015-05-15 21:11:29 +03:00
a46dd9f6bf
more word tests
2015-05-15 20:31:43 +03:00
0731a6061a
fix word implementation and tests
...
much better, though wasteful implementation
breaks a few tests, but ploughing on first
2015-05-15 16:45:36 +03:00
164816c441
basic word functionality
...
and conversion from string
2015-05-14 20:39:12 +03:00
5e0e8c8364
move index_of to list
...
and give it a sort of basic implementation
2015-05-14 19:54:38 +03:00
c2b84925a4
basic functions for object
2015-05-14 19:53:56 +03:00
9d711e7766
moving string to parfait
...
using parfait::word
also rename builtins string to word
2015-05-13 16:17:10 +03:00
baca6eb4c6
rename string to word
2015-05-13 16:06:38 +03:00
bf5576f805
small clean
2015-05-13 12:22:51 +03:00
f92e5cf475
fix all tests again
2015-05-13 12:15:14 +03:00
dd41758dea
renamed array and hash to list and dictionary
...
Since these are not the ruby classes, we don’t need
the old names. They are misleading.
An Array is a military term, we mean list
And a Hash is an implementation of a Dictionary,
or LookupTable
2015-05-12 19:10:45 +03:00
a94ce51c58
also test array
...
minor (ahm) fixes to array logic
2015-05-12 19:03:14 +03:00
398516a596
fixes parfaits hash by implementing array
...
basic concept holds up as parfaits hash is now
working on parfaits own array
2015-05-12 18:52:01 +03:00
b980def84e
move space to parfait
...
Also make the machine the singleton
and space hang off it
Many repercussions, not all fixed in this commit
2015-05-12 15:36:44 +03:00
2e8b514e9c
start to use parfait classes
...
bit of a bumpy road
2015-05-12 14:58:29 +03:00
73a6a5db39
move meta and boot class to parfait
...
just cosmetic, fixed requires but not code
2015-05-12 09:54:36 +03:00
b804354236
fix requires and some scoping
2015-05-12 09:44:34 +03:00
ab870e3323
moved the whole parfait into its namespace/module
2015-05-11 18:55:49 +03:00
a552e3fbce
remove virtual frame (just using parfait)
2015-05-10 17:12:43 +03:00
d41676fdfd
namespace cleanup
...
remove unnecessary Virtual namespace prefix
which was a large motivation for the move
2015-05-08 15:19:30 +03:00
de8fe46fe0
move compiler into virtual
...
and associated changes in code, requires tests etc
2015-05-08 15:10:30 +03:00
a1b9acce3d
basic name expression code
...
needs fleshing out and tests
2015-05-08 14:57:11 +03:00
c700a3aabe
better compiler docs
2015-05-08 14:55:01 +03:00
6f2affaf36
fix name expression and test
...
plus various cleaning and rename off call_site
2015-05-08 14:34:46 +03:00
2fde50c27a
some more tests fixed
2015-05-06 15:15:53 +03:00
9bf5eb2621
somewhat correct that message at compile-time idea
2015-05-06 15:15:33 +03:00
8a7db6d4f2
remove message as third arg to compile
2015-05-06 15:14:47 +03:00
1feed6af44
create one file per instruction
2015-05-06 08:55:14 +03:00
4f1508ca61
moved slots to own directory
2015-05-06 08:38:29 +03:00
cdea4915f9
bit more cleanup after compiler
2015-05-05 15:11:09 +03:00
001af3f8b6
reviving more tests
2015-05-05 14:04:37 +03:00