Coder Social home page Coder Social logo

apl's Introduction

docs | differences from Dyalog APL

An APL re-implementation in Java.

./build to build, ./REPL to start a REPL.

Android app

Processing integration

docs

  1. run convert.py in the folder app
  2. run APLP5 in Processing

To choose what file to run as APL, in void settings change the args array (or export & pass an actual argument) with the filename. Some examples are given in the folder data.

apl's People

Contributors

andersontorres avatar dzaima avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apl's Issues

AndroidIDE exception when using dyadic slash operator

When the / operator is used in dyadic syntax (compress operator), the AndroidApp throw an exception.

Note that I'm reporting only the first line of the error because the absence of the possibility to copy the output of the app:
java.lang.ClassCastException: APL.types.arrs.BitArr cannot be cast to APL.types.fun

I think the problem is linked with the monadic form of /, where is needed a function.

To reproduce the error I've used 0 1 0 1 1 0 1 / 1 2 3 4 5 6 7 to be sure the problem is truly /.

Feature request: command history between sessions

First, I would like to say thank you for developing such a wonderful app! The keyboard is intuitive, and I love the graphing utility.

I was wondering if you might be able to (and want to) add the facility for command-history to be remembered even between uses of the app. Other than that, this app is really awesome!

Readme example of dyalog JSON server is outdated.

)LOAD path/to/JSONServer/Distribution/JSONServer.dws
S←⊃JSONServer.Run ⍬
eval←{⎕←'  ',⍵ ⋄ 0::{⎕←↑⎕DM⋄⎕DM}⍬ ⋄ ,↓⎕←⍕⍎⍵}       ⍝ This function is no longer valid in JSONServer
$ curl -vv http://127.0.0.1:8080/eval -d '"2+2"'
...
HTTP/1.1 400 Bad Request - "eval" is not a monadic result-returning function

This was caused by Dyalog/JSONServer@3755b7d

the error is generated by https://github.com/Dyalog/JSONServer/blob/4e18cac2d2f3571fda98c4126bb39e5f47578ab7/Source/JSONServer.dyalog#L246

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.