Commit Graph

131 Commits

Author SHA1 Message Date
nocturn9x c31fcd1142 Consirerable refactoring needed 2020-10-22 16:05:39 +02:00
nocturn9x 84db1ce890 Partial refactoring to object structure 2020-10-22 15:50:30 +02:00
nocturn9x abc6a48457 Started to refactor the object structure 2020-10-22 12:21:58 +02:00
Productive2 18c7a04703
Merge pull request #8 from alsoGAMER/patch-1
Changed the checkmarks to prevent rendering issues
2020-10-22 00:53:16 +02:00
alsoGAMER 1d053b1766
Changed the checkmarks to prevent rendering issues 2020-10-22 00:47:48 +02:00
ooo fa2620ab06 fix copyright info 2020-10-21 22:49:08 +02:00
nocturn9x 2a41cd7cea Made the project nicer. Rewritten README, added copyright notices and fixed typos 2020-10-21 22:34:04 +02:00
nocturn9x c41b6da81c Cleaned up the repository and moved the python POC to a separate repo 2020-10-21 18:29:08 +02:00
nocturn9x ddcf299c2a Made 0.0 a falsey value 2020-10-19 21:35:17 +02:00
nocturn9x 46c34b48c3 Buggy function calls are implemented 2020-10-19 19:02:40 +02:00
nocturn9x 73bc946adf Main is now in a compilable state 2020-10-19 16:56:46 +02:00
nocturn9x f51e417e14 Brought the vm to a compilable state, main.nim throws unkown error upon compilation 2020-10-19 16:19:49 +02:00
nocturn9x 88e3c58492 removed save file 2020-10-19 12:32:43 +02:00
nocturn9x 2133210c64 Fixed typos and minor improvements 2020-10-19 12:32:08 +02:00
nocturn9x 02e42fb264 Removed compiler executable 2020-10-18 22:26:41 +02:00
nocturn9x f3a2fea923 Updated gitignore 2020-10-18 22:26:23 +02:00
nocturn9x 302757e5ba Minor changes in README 2020-10-18 19:36:32 +02:00
nocturn9x 4728928903 Added proper documentation for the compiler and the parser. Minor fixes to other docstrings as well 2020-10-18 18:09:12 +02:00
Mattia 93a3cea8b5
Merge pull request #2 from Productive2/master
Enum refactoring, common.nim reduction
2020-10-18 16:18:13 +02:00
Productive2 31ebb2ff80 VM names have been changed. 2020-10-17 16:55:04 +02:00
Productive2 cc74ee8f5b Converted precedence to a pure enum
Compiler can now be compiled as main module (just for debugging now)
2020-10-17 16:23:59 +02:00
Productive2 59ea1ca844 Move Compiler outside of common.nim
Remove VM dependency of the compiler
Start making compiler use pure enums
2020-10-17 15:57:57 +02:00
Productive2 3ce284a03f fix indentaion 2020-10-17 15:36:14 +02:00
Productive2 de851d073e The changed names now should be fixed in most of the project.
(On compile, the error msg is about the slot)
2020-10-17 15:26:57 +02:00
Productive2 b149efa699 fix indents 2020-10-17 12:43:54 +02:00
Productive2 75484a867a Changes
Renamed stuff in valueobject, objecttype
Added tools folder for stuff not directly in the project
Added the first very WIP version of the dependency mapper (still broken
sorting)
Added a test.nim temporarily to check if I've renamed every instance
(still doesn't cover 100% of the project, can be run with nim c test)
2020-10-17 12:35:32 +02:00
Productive2 58aa90dc84 Simplified util/debug.nim
Fixed typo in chunk
Added constant maps for opcodes
2020-10-17 11:47:42 +02:00
Productive2 28102d33f7 Changed all chunk procs to not-var variants
- Also added more docs
- marked docs I want to go back to with TODO
2020-10-16 14:53:13 +02:00
ooo fbc801e8f9 Chunk changes:
- NEP #1 naming convention
- Changed enum to pure
2020-10-16 14:31:28 +02:00
nocturn9x 37980b5579 Broken stuff, probably 2020-10-16 12:38:07 +02:00
nocturn9x 0b9cfe84df Updated README 2020-10-04 21:52:09 +02:00
nocturn9x 0f452be1a4 Small minor fix to main.nim 2020-09-30 22:12:38 +02:00
nocturn9x 208c5b7acb Updated README 2020-09-29 17:44:40 +02:00
nocturn9x ef8158535c Temporarily removed support for the del keyword as it might cause issues with the soon-to-come GC 2020-09-29 17:38:21 +02:00
nocturn9x 9b34ab28c0 Added missing bitwise AND, OR and NOT operators. Yes, function calls are still broken 2020-09-29 17:32:42 +02:00
nocturn9x 9575068737 Some fixes 2020-09-29 14:57:16 +02:00
nocturn9x 082e6fd460 Removed save file 2020-09-10 14:29:54 +02:00
nocturn9x 467b586574 Function calls still do not work :( 2020-09-10 14:29:35 +02:00
nocturn9x c5a4cf9e8d Another (failed) attempt to fix function calls 2020-09-08 00:06:21 +02:00
nocturn9x 74c2684dff Improved consistency of runtime error messages and updated slicing behavior to be more python-like 2020-09-04 09:23:37 +02:00
nocturn9x cb384aaf5f Minor bug fixes to chunks, function calls are still broken 2020-09-03 19:24:18 +02:00
nocturn9x 0fd7cea1e1 Minor bugfix 2020-09-01 21:02:47 +02:00
nocturn9x 53c5c83258 Removed test file 2020-09-01 18:09:59 +02:00
nocturn9x 42e6970e16 Added more operations on nan and inf types. Added bitwise operators (last commit), function calls need fix 2020-09-01 18:09:36 +02:00
nocturn9x dd83ef32a5 Added nan and inf types 2020-08-30 13:08:13 +02:00
nocturn9x cedb3bc44b Added bitwise operators 2020-08-30 12:35:37 +02:00
nocturn9x 556a130172 Added support for default arguments in functions and related error checking. Made the error reporting nicer and more consistent across the runtime 2020-08-30 10:36:13 +02:00
nocturn9x 4f487d357d Fixed a scope edge case 2020-08-29 09:07:32 +02:00
nocturn9x f7ed7193bb Various minor bugfixes and completed the frames implementation 2020-08-28 22:04:02 +02:00
nocturn9x 21ab45ecc4 Minor improvements to debugger experience 2020-08-28 00:05:56 +02:00