Original Post
Hi I was implementing the constructor arguments feature this morning, but i dont see a good way of declaring the arguments for the constructor on the script, as simply doing this "CObject obj(REG_TYPE) will not work, to support this way requires a lot of changes in the parser as the functions will be recognized as globalvars because of the open paranthesis, so it will need to store the var type and compare to a registered type for declaring it as a global var, anyway, alot So the question is how you want (or how its a good way to do it in a script language, im a little c++ biased) the arguments to be declared in the script? a keyword? probably an assigment with the arguments enclosed in paranthesis ? a _(agrs) probably ? or CObject obj { type_reg } or a CObject obj TYPE reg_type or what ? Hope WitchLord can take a look at the jit compiler source that i posted in another thread soon WhitchLord, are interested in tutorials for your library? Well, i have continue testing these scripting libraries with my framework best regards Lioric