Commit Graph

8 Commits

Author SHA1 Message Date
CPunch 8ac8085d20 syntax: 'var'->'let' 'function'->'func'
- 'var' has some weird scoping connotations with users of JS. better to change it to 'let', which will decide whether to make the variable a local or a global
- 'func' looks visually appealing lol
- some minor refactoring done in cparse.c
2023-02-09 15:58:25 -06:00
CPunch 32162ce50c Updated examples and README to use proper syntax 2021-01-12 17:49:16 -06:00
CPunch 8dc8cef7dc better increment test 2021-01-10 13:20:09 -06:00
CPunch aaa37c61d0 updated increment.cosmo example 2021-01-08 23:07:44 -06:00
CPunch 0beeee0fdf Added dictionary support to OP_ITER
ISTRING_RESERVED was added to iStrings
call & callCFunction now use memmove instead of memcpy
Additionally, added cosmoO_setUserP, cosmoO_getUserP, cosmoO_setUserI and cosmoO_getUserI to the C API.
2020-12-17 19:44:04 -06:00
CPunch 9ca67c8408 changed class -> proto 2020-12-05 17:58:56 -06:00
CPunch 6485f90c2d updated README 2020-11-20 15:32:12 -06:00
CPunch 6d45c0a676 fixed __index 2020-11-20 15:10:49 -06:00