Commit Graph

153 Commits

Author SHA1 Message Date
Productive2 b79d7e4f7a just starting to add methods 2020-10-26 16:29:00 +01:00
Productive2 f061d99215 Merge remote-tracking branch 'upstream/master' 2020-10-25 17:48:59 +01:00
Productive2 44aab6f5fc a few minor changes, so it compiles 2020-10-25 17:47:53 +01:00
Productive2 2809c6387b
Merge pull request #16 from Productive2/master
Endscope fix, more debug
2020-10-25 15:12:57 +01:00
Productive2 26f035a998 Merge remote-tracking branch 'upstream/master' 2020-10-25 15:10:32 +01:00
Productive2 08ecf2a1ad Add more compiler debug; fix endScope() 2020-10-25 15:08:26 +01:00
nocturn9x b93643e5b5 Moved object structure to a single file + random stuff idk I'm tired 2020-10-25 15:08:08 +01:00
nocturn9x 673b88f9de Huge refactoring for the type system and object structure, VM needs opcode refactoring 2020-10-25 12:45:03 +01:00
nocturn9x 823f4c622b Started to ditch value objects in favor of object pointers 2020-10-24 20:48:10 +02:00
Mattia a910445bd4
Merge pull request #14 from Productive2/master
Object refactoring 1
2020-10-24 00:07:04 +02:00
Productive2 8be057f3cc Finished moving everything to types, now it compiles 2020-10-23 18:28:39 +02:00
Productive2 73009c669c More changes to make code compilable 2020-10-23 18:17:41 +02:00
Productive2 9d13f53e6d Getting closer to compilability 2020-10-23 17:14:55 +02:00
Productive2 0df6838941 Renamed types so the types directory is cleaner 2020-10-23 16:38:53 +02:00
Productive2 154cb5c16c Types refactoring progress 2020-10-23 16:38:03 +02:00
Productive2 d531386d6b trying to bring it into a compilable state 2020-10-23 00:31:39 +02:00
Productive2 b3ff804296 setting up conflict resolution 2020-10-22 18:47:14 +02:00
Mattia c70d923ef8
Update factorial.jpl 2020-10-22 18:04:27 +02:00
Mattia 520477656e
typos 2020-10-22 18:03:58 +02:00
nocturn9x c31fcd1142 Consirerable refactoring needed 2020-10-22 16:05:39 +02:00
nocturn9x 46827695d5 Fixed merge conflicts 2020-10-22 15:51:39 +02:00
nocturn9x 84db1ce890 Partial refactoring to object structure 2020-10-22 15:50:30 +02:00
Mattia 7649cf6e3b
Merge pull request #13 from Productive2/master
Refactoring of object structures: create japlvalue.nim
2020-10-22 15:48:47 +02:00
Productive2 58c5a9d9b6 Refactoring of object structures: create japlvalue.nim 2020-10-22 15:45:36 +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