Torsten Ruger
|
79a28ac5fa
|
trying to get function calls to work (but will have to rework regeister handling)
|
2014-05-10 15:24:56 +03:00 |
|
Torsten Ruger
|
e69decee90
|
slight shuffling
|
2014-05-10 12:54:31 +03:00 |
|
Torsten Ruger
|
20128627c7
|
implements inspect for copy paste into tests
|
2014-05-10 12:54:10 +03:00 |
|
Torsten Ruger
|
051b0ea7dc
|
remove the double transform rules (as not using maybe anymore)
|
2014-05-10 12:02:11 +03:00 |
|
Torsten Ruger
|
8f2a22d12f
|
add a repeat to the root parser rule (need to test the root more)
|
2014-05-10 11:18:39 +03:00 |
|
Torsten Ruger
|
b266bb84ba
|
splitting the parser up more
|
2014-05-10 11:14:34 +03:00 |
|
Torsten Ruger
|
af1df1a104
|
renamed root parser class to Crystal
|
2014-05-10 11:03:23 +03:00 |
|
Torsten Ruger
|
31aa9c8768
|
actually ads a value to Value
|
2014-05-10 10:59:56 +03:00 |
|
Torsten Ruger
|
7341586d15
|
more expressions compile
|
2014-05-10 10:58:25 +03:00 |
|
Torsten Ruger
|
8e6297dcff
|
improving the string according to kasper
|
2014-05-09 13:51:47 +03:00 |
|
Torsten Ruger
|
6ee290e0bb
|
fixes all existing parser tests
|
2014-05-08 21:09:07 +03:00 |
|
Torsten Ruger
|
53a8efaa59
|
get the conditionals to work again
|
2014-05-08 19:49:15 +03:00 |
|
Torsten Ruger
|
b82c2241b7
|
get parameter lists to work again (no more ifs as function arguments:-)
|
2014-05-08 19:41:27 +03:00 |
|
Torsten Ruger
|
9c609ee299
|
make machine init default to the running one with ruby config
|
2014-05-08 19:30:46 +03:00 |
|
Torsten Ruger
|
9c2dfe79da
|
at least basic tests work again
|
2014-05-08 18:42:24 +03:00 |
|
Torsten Ruger
|
034ae4f7ca
|
add comment and remove newline from space (starting a long whitespace battle)
|
2014-05-08 18:38:49 +03:00 |
|
Torsten Ruger
|
f0ad11bf8c
|
resistance was useless, wilson is now part of the collective (as intel)
|
2014-05-08 15:09:56 +03:00 |
|
Torsten Ruger
|
f7f0eee31a
|
adjust program tests to new syntax, hello world works there too -)
|
2014-05-08 14:14:15 +03:00 |
|
Torsten Ruger
|
ee864fc602
|
fixed arm tests to use ArmMachine
|
2014-05-07 14:58:38 +03:00 |
|
Torsten Ruger
|
4135c4d2dc
|
crystal says Hello.
|
2014-05-06 21:36:28 +03:00 |
|
Torsten Ruger
|
fa123e0354
|
move kernel to core and apply the classmethod pattern to all core classes
|
2014-05-06 12:47:07 +03:00 |
|
Torsten Ruger
|
12b6800efe
|
work on function entry and exit. fix stack instructions
|
2014-05-06 12:42:43 +03:00 |
|
Torsten Ruger
|
22b5117c8b
|
getting a _start and _exit, just missing the actual code
|
2014-05-06 00:12:04 +03:00 |
|
Torsten Ruger
|
7d20b5e2df
|
at least its in shape to start debugging again (that must count as half full)
|
2014-05-05 22:21:11 +03:00 |
|
Torsten Ruger
|
69b04d930f
|
cleanup
|
2014-05-05 15:59:29 +03:00 |
|
Torsten Ruger
|
de66238a9e
|
moved all compile to ast, vm does link and assemble. Getting there
|
2014-05-05 11:03:43 +03:00 |
|
Torsten Ruger
|
99da6f5be3
|
gets rid of conversion approach, ast compiles
|
2014-05-05 10:13:49 +03:00 |
|
Torsten Ruger
|
c67ee7f6f3
|
extracted ast classes to own files
|
2014-05-05 10:02:02 +03:00 |
|
Torsten Ruger
|
7c7e58ea62
|
upgrades ast to first class
|
2014-05-05 09:51:16 +03:00 |
|
Torsten Ruger
|
7c0aa8ae7d
|
getting better, but somethings off
|
2014-05-05 09:35:40 +03:00 |
|
Torsten Ruger
|
a61170942f
|
so close i can smell it, checkpoint
|
2014-05-03 22:18:04 +03:00 |
|
Torsten Ruger
|
968556a03e
|
get the tests to work
|
2014-05-03 18:56:56 +03:00 |
|
Torsten Ruger
|
04e4dc872e
|
check
|
2014-05-03 18:51:47 +03:00 |
|
Torsten Ruger
|
845a8cab8b
|
more semi random code, a checkpoint
|
2014-05-03 15:13:44 +03:00 |
|
Torsten Ruger
|
1c86ecb84e
|
copied asm here so that stays working while i break (an) arm
|
2014-05-03 15:13:15 +03:00 |
|
Torsten Ruger
|
fae0c1ab8c
|
renamed program to assembler (to avoid clashes in vm)
|
2014-05-02 08:14:38 +03:00 |
|
Torsten Ruger
|
990b4726ba
|
more random code
|
2014-05-02 08:02:25 +03:00 |
|
Torsten Ruger
|
90e2658bc0
|
small poslish
|
2014-04-29 16:22:12 +03:00 |
|
Torsten Ruger
|
7dfde45373
|
fixes missing string tests and expression/transformation
|
2014-04-29 11:17:19 +03:00 |
|
Torsten Ruger
|
874f080ba2
|
Semi random code for the next step
|
2014-04-28 22:08:09 +03:00 |
|
Torsten Ruger
|
129f9f5c57
|
space and order fiddling (gets assignments to work better)
|
2014-04-28 22:07:13 +03:00 |
|
Torsten Ruger
|
92a9372dcc
|
moved nodes to parser (one more layer) and fixed tests. also adds assignment
|
2014-04-28 21:21:12 +03:00 |
|
Torsten Ruger
|
cfcb9ded2f
|
fixed and tightened transformation tests, also by implementing node ==
|
2014-04-28 16:07:34 +03:00 |
|
Torsten Ruger
|
e04973fc3c
|
making grammar look more like ruby
|
2014-04-28 15:46:57 +03:00 |
|
Torsten Ruger
|
18c2abfd2b
|
some docs
|
2014-04-27 21:51:06 +03:00 |
|
Torsten Ruger
|
74060d6ab6
|
expanded many rule names, added some tests to find the bugs introduced
|
2014-04-27 21:41:38 +03:00 |
|
Torsten Ruger
|
408cf98ea5
|
renamed parser rules for clarity. fixed
|
2014-04-27 21:12:42 +03:00 |
|
Torsten Ruger
|
583e6f0c9f
|
add keyword and operators as seperate parser modules
|
2014-04-27 21:12:24 +03:00 |
|
Torsten Ruger
|
28410ab22a
|
adjusted code and tests to use renamed and rearranged parser bits
|
2014-04-27 18:13:34 +03:00 |
|
Torsten Ruger
|
032758db8b
|
using new modules
|
2014-04-27 18:13:10 +03:00 |
|