Some housekeeping #0

First, I need to correct the cgame class. The cgame class makes it easier to create toy command. But right now its behaviour is not right. Then, I need to implement a dictionary of sort, because the bytecode wasn't well thought out. Bear in mind that the current codebase which will become the toy 0.5 version, is just a prototype. I will reimplement the language for the 1.0 version.


Class and Const

The first task I will do, will be to implement the class object. Then I will implement the const object. A macro is a function (or routine) that can embed other macros. A class will be similar to a macro. The main difference will be that a class is also a container for variables. A class cannot exist on its own. You will have to create a variable of type 'class'. A const object is like a class, but existing on its own. It's different from other languages where a const cannot be modified. The syntax for const/class objects is not yet fully thought out. More to come...


End of content

No more pages to load