APL.jl: Difference between revisions

Jump to navigation Jump to search
1 byte removed ,  15:05, 22 September 2022
no edit summary
(add APL.jl page)
No edit summary
Line 20: Line 20:
APL.jl works on a minor subset of APL that allows the compiler to parse and translate APL code into Julia code. Due to this, APl.jl always returns Julia data. Dfns defined using APl.jl can hence be used directly in Julia code like ordinary functions.  
APL.jl works on a minor subset of APL that allows the compiler to parse and translate APL code into Julia code. Due to this, APl.jl always returns Julia data. Dfns defined using APl.jl can hence be used directly in Julia code like ordinary functions.  


The <code>apl""</code> string macro parses and evaluatess an APL expression. The parser works on the reverse of the APL code, using the help of concatenation rules to recognize the syntax of the expression.<ref>https://github.com/shashi/APL.jl#implementation-notes</ref>
The <code>apl""</code> string macro parses and evaluates an APL expression. The parser works on the reverse of the APL code, using the help of concatenation rules to recognize the syntax of the expression.<ref>https://github.com/shashi/APL.jl#implementation-notes</ref>


APL.jl can be used from <code>apl""</code>, and as a REPL triggered with <code>/</code> from within the Julia REPL. It can be built and installed from source in the REPL using the <code>Pkg</code> library.
APL.jl can be used from <code>apl""</code>, and as a REPL triggered with <code>/</code> from within the Julia REPL. It can be built and installed from source in the REPL using the <code>Pkg</code> library.
trusted
69

edits

Navigation menu