Ark
Ark copied to clipboard
ArkScript is a small, fast, functional and scripting language for C++ projects
Logs
The logger was recently removed, because it was meant to handle files and terminal but was never used to output to files (who wants to have an output.log and error.log...
`(let i 0) (print i)` in ArkScript generates the following bytecode ``` Version: 3.0.15 Timestamp: 1620651845 SHA256: eb4587372d295f8db6314323142f64d46961f38f4d0d07f2c259710b45043 Symbols table (length: 1) 0) i Constants table (length: 1) 0) (Number)...
This is linked to #5, currently the problem is handled in the VM but we could take it to the compiler. This code should then throw a compile time error:...
`import` acts like a macro: read filename, canonicalize it (our reference path being the path of the first file) can check if it's in our *already imported files* list. The...
In the VM, we have an instruction to load plugins (.dll, .so and .dynlib, depending on the OS), working perfectly when Ark *and* the plugin have been compiled with the...
**Is your feature request related to a problem? Please describe.** This is linked to our package manager, https://github.com/ArkScript-lang/nuclear. We should be able to create virtual environment to have (mostly) multiple...
Something among the lines of ark -u|--update to download the latest ark release and use it instead of the current version
Issue: The search for symbols in the module in the global namespace does not find any values. Thus the symbol i snot inserted. Changed the code so that if it...
**Describe the bug** On Linux GCC Compiler we get the following warning: [ 37%] Building CXX object CMakeFiles/ArkReactor.dir/src/arkreactor/VM/State.cpp.o /home/runner/work/Ark/Ark/src/arkreactor/VM/State.cpp: In member function ‘void Ark::State::configure()’: /home/runner/work/Ark/Ark/src/arkreactor/VM/State.cpp:236:21: error: variable ‘timestamp’ set but...