no, into is an assembly opcode, all opcodes are registered, some keywords are taken, the list i need to finish is the opcodes/tokens that are that are reserved such as
into
int
push
pop
in
out
etc etc etc
as you can see
eax = Ziron_ExpectNextToken(448);
into is already registered in the ziron assembler, it just has not been added to the framework enum zirTokens, because there is all asm opcodes i need to finish adding.
e.g. opcode add is 405, which will be zirADD and xor is 551 etc....
as for post 452, maybe that is an option, you can test the performance degrade for both and see which is faster.. ps there is a function in latest updates named strIndexOf
it takes 2 params buffer to search and string to find (in very latest i just updated has a fix to it)
will return -1 if not found else 0+ if found.
eax = strIndexOf('my long string', '$');
//eax is -1
eax = strIndexOf('my long string', 'str');
//eax is 8
Ziron Compiler 1.1.27.6
Copyright (C) 2011. OverHertz Ltd. All rights reserved.
--------------------------------------------
11/8/2011 9:50:51 AM
--------------------------------------------
PlugSys: Emit plugin has loaded!
[296,3]: Unexpected character "}". in [strings.zir]
Code:
}
--------------------------------------------