Commit Graph

670 Commits

Author SHA1 Message Date
Torsten Ruger
1593d330ae move assignment test to basic suite 2014-04-29 16:49:37 +03:00
Torsten Ruger
afce197797 move conditional and expression test to new model 2014-04-29 16:47:33 +03:00
Torsten Ruger
76055575a1 moves the function call tests to new model 2014-04-29 16:36:29 +03:00
Torsten Ruger
1af45334b7 move argument and parameter tests to new framework 2014-04-29 16:22:39 +03:00
Torsten Ruger
90e2658bc0 small poslish 2014-04-29 16:22:12 +03:00
Torsten Ruger
9e75a50315 improved the framework a bit 2014-04-29 16:21:28 +03:00
Torsten Ruger
585c27c78d adds the concern aproach and explanation 2014-04-29 14:09:10 +03:00
Torsten Ruger
b6e08faa39 folds all basic tests into new directory 2014-04-29 13:50:07 +03:00
Torsten Ruger
2507251f75 start to split tests according to feature 2014-04-29 11:37:43 +03:00
Torsten Ruger
7dfde45373 fixes missing string tests and expression/transformation 2014-04-29 11:17:19 +03:00
Torsten Ruger
9c16d81ad6 some explanation for the parser tests 2014-04-28 22:22:37 +03:00
Torsten Ruger
874f080ba2 Semi random code for the next step 2014-04-28 22:08:09 +03:00
Torsten Ruger
aaed2ed5a1 More assignment test 2014-04-28 22:07:35 +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
c1a6003704 move straight to rb files, fixed runner 2014-04-28 16:47:12 +03:00
Torsten Ruger
2fdbb9f3ae imroved and fixed node test (parse and transform) 2014-04-28 16:26:19 +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
0a3253c5c3 adds a runner that parses files (and some fibo examples) 2014-04-28 11:19:28 +03:00
Torsten Ruger
f0ccdfcb65 adds todo, updates readme 2014-04-27 22:19:32 +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
Torsten Ruger
d8f228da11 more basic types (untested) 2014-04-27 18:12:32 +03:00
Torsten Ruger
4e4099e552 adds tokens as own parser module 2014-04-27 18:12:04 +03:00
Torsten Ruger
f628c67188 starting to deompose the parser 2014-04-27 16:30:32 +03:00
Torsten Ruger
96a9cd3270 fixed asserts 2014-04-27 16:09:22 +03:00
Torsten Ruger
5423bc8f7e convert to test case 2014-04-27 15:56:22 +03:00
Torsten Ruger
d72c9a3bb0 fixed tests (namespacing) and finally created a test_all 2014-04-27 15:44:34 +03:00
Torsten Ruger
436a5dac5a created own directory for parser 2014-04-27 15:38:07 +03:00
Torsten Ruger
b1203363d4 vendored parslet, deemed stable enough and better without dependency 2014-04-27 15:34:35 +03:00
Torsten Ruger
6fafeda66d block dsl facelift 2014-04-27 15:19:48 +03:00
Torsten Ruger
88ed97ac3b fix the tests with new block syntax 2014-04-25 21:08:19 +03:00
Torsten Ruger
92beb638de better logic with new block class 2014-04-25 18:37:19 +03:00
Torsten Ruger
7af46d210b rename label to block and assembler to program 2014-04-25 18:36:40 +03:00
Torsten Ruger
75873ea18e cleaned intruction initialization and fixed a test accidentally (was schoddy code) 2014-04-25 15:07:47 +03:00
Torsten Ruger
eca9e66f73 renamed instruciton tools to arm machine 2014-04-25 13:34:10 +03:00
Torsten Ruger
f1a7993b47 bit of renaming , cleaning and documentation 2014-04-25 13:29:12 +03:00
Torsten Ruger
6261451c4b adds code class as base for anything that can be assembled 2014-04-25 12:28:23 +03:00
Torsten Ruger
d08e6702f0 removes the asm from assemble signature (not used) 2014-04-25 11:56:53 +03:00
Torsten Ruger
93e4178017 rewrote as testcase (quicker than checking where spec errors came from) 2014-04-24 21:03:11 +03:00
Torsten Ruger
3f316cda63 fixed root 2014-04-24 21:02:27 +03:00
Torsten Ruger
f39eef38a1 complier was deemed redundant, as the java stuff 2014-04-24 21:02:00 +03:00
Torsten Ruger
2b1a56b4fe starting with own node tests 2014-04-24 19:45:22 +03:00
Torsten Ruger
c411ac5df8 removed the structs (code smell) 2014-04-24 17:38:06 +03:00
Torsten Ruger
305f2380a9 folded fake builder, started adapting tests and added example file 2014-04-24 17:17:17 +03:00