Commit Graph

7 Commits

Author SHA1 Message Date
9f19fd4f31 fix this test script 2023-08-29 16:51:04 -05:00
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
e993cdd9fa Added . get/set support for dictionaries.
cosmoO_getObject and cosmoO_setObject were renamed to cosmoV_getRawObject and cosmoV_setRawObject respectively
`__init` is now required to be defined for a proto object to be instantiated.
other minor refactoring work done in src/cvm.c
2020-12-30 17:51:59 -06:00
9ca67c8408 changed class -> proto 2020-12-05 17:58:56 -06:00
46b99ab390 minor refactoring, added inc and dec operators 2020-11-19 14:41:21 -06:00
204bec3d0a added IStrings, added __index functionality 2020-11-16 19:58:16 -06:00
4ff1e59042 moved examples to examples folder 2020-11-13 17:50:55 -06:00