arturo
arturo copied to clipboard
Simple, expressive & portable programming language for efficient scripting
**Describe the bug** When I was creating the PR #1182 [I discovered an issue with the parser][fixing-sigsegv-commit]. Well, it's returning a SIGSEGV error because of code formatation. **To Reproduce** This...
**To Reproduce** `antiprimes.art`: ``` btc: to :bytecode [ found: 0 i: 1 maxDiv: 0 while [found < 20] [ fac: size factors i if fac > maxDiv [ print i...
Functions are one of the very cases - if not the only one - where Arturo has very tight scoping. In a few words: any value altered from within a...
**Describe the bug** Compilation to-bytecode and execution from-bytecode should both be working flawlessly and in *exactly* in the same fashion as a script run the usual way (e.g. `arturo myscript.art`)....
[Core\module] should show error in case magic methods are included magic methods are of no use in that case https://github.com/arturo-lang/arturo/blob/dad64b1fb55a075657e30ed54fbcee38a1c6cc19/src/library/Core.nim#L1020 ```text builtin "module", alias = unaliased, op = opNop, rule...
[Core\module] add documentation example https://github.com/arturo-lang/arturo/blob/dad64b1fb55a075657e30ed54fbcee38a1c6cc19/src/library/Core.nim#L997 ```text push(newMethodFromDefinition(argBlock, y, isDistinct, isPublic, inPath)) builtin "module", alias = unaliased, op = opNop, rule = PrefixPrecedence, description = "create new module with given contents",...
[Core\export] add documentation example https://github.com/arturo-lang/arturo/blob/dad64b1fb55a075657e30ed54fbcee38a1c6cc19/src/library/Core.nim#L494 ```text Error_AssertionFailed(x.codify()) builtin "export", alias = unaliased, op = opNop, rule = PrefixPrecedence, description = "export given container children to current scope", args = {...
MINI builds are working fine (see: #1614), but not the FULL builds.
[Errors] Line number messed up at start of block let's say we do ``` do [ print 3/0 ] ``` The line of the error will be messed up. This...
Converting a floating point number to an integer and then adding it to a negative number gives incorrect results. $> x: 1.1 $> to :integer x + neg(3) => -1...