Commit Graph

65 Commits

Author SHA1 Message Date
Torsten Ruger
f51ed376c4 add missing as types 2016-03-06 14:07:25 +02:00
Torsten Ruger
4a9b492dd9 move to typed structure
on the way to removing the language, the at needs to be replaced with a
typed structure.
2016-03-06 09:40:41 +02:00
Torsten Ruger
d38a9c626f renamed to soml-parser 2015-11-30 19:55:48 +02:00
Torsten Ruger
6ae4b624b0 leaving the name for field defs
so we can reuse that expression
so we can highlight it in the debugger
2015-11-02 20:10:05 +02:00
Torsten Ruger
3061ddfed9 same syntax change for while_xxx
xxx can be any string for the parser
the language will restrict if somewhat later
2015-10-19 15:21:11 +03:00
Torsten Ruger
7cc7ab5c18 adding condition to if statement
new syntax is if_true( . .. . )
where any string is allowed in case of true
2015-10-19 15:10:38 +03:00
Torsten Ruger
72ed05254e move control into statements 2015-10-19 14:57:03 +03:00
Torsten Ruger
ab0a94bd51 change type to class name
although int is still allowed for integers (gets replaced though)
2015-10-14 15:48:53 +03:00
Torsten Ruger
be07cd615a transform changes for what was basically a rewrite 2015-10-09 17:32:55 +03:00
Torsten Ruger
e9a7b1f6da fix root, much tighter now 2015-10-09 17:32:34 +03:00
Torsten Ruger
3651856fc5 fix class defs 2015-10-09 17:32:05 +03:00
Torsten Ruger
60746383ee expressions are now statements 2015-10-09 17:31:08 +03:00
Torsten Ruger
b424306156 fix array and hash constants, now seperated out 2015-10-09 17:29:24 +03:00
Torsten Ruger
dff0e8fab4 fix function definition 2015-10-09 17:28:47 +03:00
Torsten Ruger
48a6dfabff fix while and if statements 2015-10-09 17:28:13 +03:00
Torsten Ruger
7f2f64c713 fix call site and now seperated assignment (was bunged as operator) 2015-10-09 17:27:22 +03:00
Torsten Ruger
af8febe456 fix operators, only binary 2015-10-09 17:25:09 +03:00
Torsten Ruger
ba7ecbfa7b fix basic types 2015-10-09 17:24:23 +03:00
Torsten Ruger
f7dcf2a2ff renameing to match expressions 2015-10-09 17:21:15 +03:00
Torsten Ruger
85adfa7107 may call with r_value 2015-10-09 12:47:03 +03:00
Torsten Ruger
308c0efc05 rename value_expression to r_value 2015-10-09 12:42:50 +03:00
Torsten Ruger
77cb8ce90a restrict the root, but expand for testing 2015-10-09 12:39:31 +03:00
Torsten Ruger
486e24514b there goes the module
it was ruby after all
should be reborn as twins: namespace and aspect
2015-10-08 22:57:39 +03:00
Torsten Ruger
34691f36d1 add class_fields as separate syntax 2015-09-27 12:05:35 +03:00
Torsten Ruger
97d9d83715 remove unused code 2015-09-27 11:26:11 +03:00
Torsten Ruger
e8bc570d25 wrapping class / module expressions in own node 2015-09-20 16:03:27 +03:00
Torsten Ruger
20b6c9b476 fix class functions
some extra tests in the process
2015-09-20 15:51:08 +03:00
Torsten Ruger
c331bdd80a fix field default values 2015-09-20 14:43:08 +03:00
Torsten Ruger
f51563e99b restrict root_body a bit, but add to function 2015-09-20 14:25:06 +03:00
Torsten Ruger
ea6472c28f rename field to parameter in parameter_list
also field to field_def (wip)
and lots of whitespace due to ws fix
2015-09-20 12:56:06 +03:00
Torsten Ruger
be444bc687 add field access with tests 2015-09-20 12:50:06 +03:00
Torsten Ruger
8e07a7568f fix array in if_false 2015-09-19 17:11:15 +03:00
Torsten Ruger
dab32bc307 remove puts 2015-09-19 16:25:42 +03:00
Torsten Ruger
9aa27d491d some more to_syms, and removing arrays, which become children 2015-09-19 14:55:03 +03:00
Torsten Ruger
e2054660ce thought to be useful sat addition 2015-09-19 14:53:59 +03:00
Torsten Ruger
71affacfba separate tag/nodes for conditions and remove arrays 2015-09-18 22:04:08 +03:00
Torsten Ruger
396a843a5e add return and argument types 2015-09-18 00:02:52 +03:00
Torsten Ruger
4d195a5f44 make 1.9 save 2015-09-15 20:03:21 +03:00
Torsten Ruger
b938c7ace5 fix all tests 2015-09-15 18:57:31 +03:00
Torsten Ruger
eca1e6b1af remove own sat 2015-09-15 18:56:55 +03:00
Torsten Ruger
34f8d2409b to and from basic types (json didn't work)
still not all, but enough for debug experiment to work
2015-07-12 10:00:29 +03:00
Torsten Ruger
95fbc3de1a move attributes under contractor
as it is essential that attributes are in the same order for the json
to work
2015-07-11 22:00:11 +03:00
Torsten Ruger
657d6319ad start on to_json and json_create 2015-07-11 21:59:36 +03:00
Torsten Ruger
42b85dbb4f create some block tests and the expression 2015-05-01 18:13:33 +03:00
Torsten Ruger
4ee470ff93 spelling 2015-05-01 16:26:26 +03:00
Torsten Ruger
0cc0812d5e namechange 2014-07-29 18:36:18 +03:00
Torsten Ruger
03ad97ef27 change main require file name 2014-07-17 03:00:06 +03:00
Torsten Ruger
5e313f7744 renamed (again) 2014-07-17 02:24:24 +03:00
Torsten Ruger
300b266366 change of name 2014-07-17 01:07:53 +03:00
Torsten Ruger
0c88e7eff5 derive Variable expression from name expression (to avoid the implementation that was there) 2014-07-14 18:03:34 +03:00