Commit Graph

14 Commits

Author SHA1 Message Date
1d2ec8e8ac abstract CallStatement base class, just like in ruby
to_mom differs much more than the to_vool in ruby,
but data and base functionality still warrent unification
also we can check for CallStatement now
2018-07-30 14:45:37 +03:00
ae3d64eb53 moved all the normalize stuff over to the ruby layer
Which is how it should have been from the start
2018-07-19 14:47:29 +03:00
29363e7f72 split compilers resolve_type into the three possibilities
cleaner code, though temporary it shifts some dirt
into the index method. up next
2018-07-16 12:03:40 +03:00
edea9ac080 makeing the method of the compiler more or less private
in preparation for using the same code for bocks
2018-07-09 19:32:17 +03:00
acd5cd8f30 rename for_type to self_type
and split a base class off TypedMethod
2018-07-06 20:01:17 +03:00
3f80953385 passing compiler to to_mom, not method
To be able to delegate scope (block/method) things later
2018-07-05 14:02:38 +03:00
2ad24ab0bb add to_s for statements 2018-07-03 22:18:19 +03:00
e099014d63 fix dunamic jump in interpreter and misc 2018-07-03 19:15:36 +03:00
63dd6d9039 moved statements up one dir 2018-06-29 22:46:00 +03:00
db8f99409b move vool statements into own directory
also tests for guard to work
2017-04-06 19:11:11 +03:00
3fe286b5ed enforces data encapsulation in vool tree
gets rid of attraccessor
2017-04-06 16:06:51 +03:00
443fd13980 adds super
with and without args
current thinking is to fill the name of the method later as we carry no
context currently, but this may change
2017-04-02 18:42:52 +03:00
ac7b9138ff bit of cleaning 2017-04-02 18:25:30 +03:00
27e4e9f501 add assignment and self 2017-04-02 12:59:07 +03:00