peelonet / tempearly

Minimal scripting language / templating engine.
2 stars 0 forks source link

Get rid of Value class. #118

Closed RauliL closed 9 years ago

RauliL commented 9 years ago

This commit is not reviewable by any mortal being. You can test whether it works however.

This commit changes the structure of the entire interpreter by ditching the Value class and replacing it with garbage collected objects which can be wrapped in an Handle. The reason for this is that the Value class could not be wrapped in an handle and I did not want to modify it so that it could. This caused problems with garbage collection since Value class cannot be used to track which objects are in use and which are not.

RauliL commented 9 years ago

Has still some recursion issues which I'm trying to fix. Do not merge yet.

RauliL commented 9 years ago

Here we go.

RauliL commented 9 years ago

R.I.P Value, we almost miss you.