Commit Graph

87 Commits

Author SHA1 Message Date
8642207158 remove instance_get instruction 2015-10-10 11:17:04 +03:00
4334b68736 remove virtual main instruction
on a quest to remove all virtual instructions
2015-10-10 11:14:31 +03:00
99098951ca rename bosl to phisol 2015-10-07 15:22:47 +03:00
f4a4ccb98e several larger changes came together, bit of cleaning too
- all code must be in functions (which must be in classes).
— changes a fair few tests
— also changes api, as method is not recursive, not passed around
- all state in instance vars in compiler (no accessors)
- class is another such variable, surely more coming
all green again
2015-10-06 00:27:13 +03:00
4186405930 new i_to_s test 2015-09-27 22:39:10 +03:00
eb57eb4d41 minor send fixes 2015-09-27 19:07:56 +03:00
252c0ccdca finish typing variables 2015-09-27 16:06:48 +03:00
2061097e88 move compiler to bosl and get first test working (adjusting syntax as i go) 2015-09-19 16:28:41 +03:00
9680ff2a71 fxes for add test 2015-08-04 21:46:33 +03:00
96c7b7133d no more partial boots, always full reboot
otherwise tests are not indepant
2015-07-30 19:19:37 +03:00
5fd04ee0c5 shuffling and rename dummy 2015-07-28 16:18:32 +03:00
f91c9fabe8 fix block initialization 2015-07-26 18:28:39 +03:00
b0c78479ff clearer to_s s 2015-07-25 09:30:58 +03:00
e3577d18af fix that silly mistake that made the percentage plummet
mostly due to the fact that object is a hash now,
not array. Took a while though
2015-07-21 19:41:30 +03:00
2d0424a370 turned out to be a rewrite of boot process
and also attribute handling and fake_memory
luckily there are tests and all is green again
2015-07-21 15:40:25 +03:00
3d8fc8819c fix rebooting by clearing our main 2015-07-18 16:12:50 +03:00
7b1e89effb get fragment tests back online
the 58%  REALLY doesn’t look good
and things have settle down, so no more excuses
2015-07-18 14:33:09 +03:00
46de0f278e fix the boot
was broken for unknown reason really
2015-07-18 11:53:04 +03:00
53d8f4b163 add source to instruction
for debug
2015-07-18 11:21:49 +03:00
50da6a40f2 Move the Main instruction from register to virtual
also needs a branch in register.
This way the register level is self sufficient
(noticed while writing debugger)
2015-07-17 13:21:57 +03:00
9a48ab1330 fix eval for opal consumption 2015-07-17 11:39:20 +03:00
b61c73acdd renamed info to MethodSource 2015-07-03 20:13:03 +03:00
caa4ae1cf0 new tests for space
finds the bug in message creation!
2015-07-02 11:09:23 +03:00
32e1903884 finished init routine
and better implemented sys calls
2015-06-25 16:31:09 +03:00
eeaf2d97de starting to clear up slots
mostly docs
2015-06-20 23:49:30 +03:00
1baece99c7 split the pass runs to debug 2015-06-12 18:52:06 +03:00
6f111a5ae0 fix the initial jump 2015-06-10 10:43:50 +02:00
5726d2c181 move machine to module level
makes for shorter, more concise, access
also remove one more bug possibility
(reinitiation)
2015-06-01 08:40:17 +03:00
f08d9659fc getting the symbols to work 2015-06-01 08:33:23 +03:00
5d870ef154 got it down to string equality/identity 2015-05-31 17:54:36 +03:00
03bdc16810 fixed layouts
also moved objects to machine, from space
space has a list of objects, but implicit,
not as an explicit array
2015-05-31 13:02:29 +03:00
aaa206fbca debugging missing layout 2015-05-31 11:07:49 +03:00
deaa062062 start to minimize
filter unused methods
Filter works, need to remove still
2015-05-30 14:49:47 +03:00
e651b57d08 homing in on line length 100 2015-05-30 12:20:39 +03:00
5845bde33a binary code to its own class
makes linking easier
2015-05-26 20:17:43 +03:00
96c59ac144 fixing assembly (wip)
main entry is the main problem, still polishing
2015-05-26 20:17:03 +03:00
5670f07eac bit more on booting of the space 2015-05-24 19:59:19 +03:00
2ccbea04b9 fixing assembly
position code changed and linking too
passes not working
2015-05-24 18:05:20 +03:00
1d9ef6d5c8 boot process 90 percent done
Creating the class and layout objects in the
right order was tricky, but  now mostly done
2015-05-23 12:15:06 +03:00
174afb33fb catch errrors 2015-05-22 22:50:40 +03:00
6eba363fb8 more speration
Separating vm and parfait
especially in method this is hairy, lots of ripples
bug is back in sod (i hope thats a good thing)
2015-05-20 17:11:13 +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
1114f06921 rename old layout()
new is called get_layout, but keep old around for
checking
2015-05-17 14:41:18 +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
9d711e7766 moving string to parfait
using parfait::word
also rename builtins string to word
2015-05-13 16:17:10 +03:00