Giter Site home page Giter Site logo

zippymagician / ayr Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 1.0 157 KB

A toy array language inspired by J, K, and APL.

Home Page: https://zippymagician.github.io/ayr

License: MIT License

JavaScript 82.20% APL 1.01% HTML 16.79%
apl j k array arrays javascript language esolang esoteric-language programming-language

ayr's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lyxal

ayr's Issues

How about -1 instead of _1?

Take this bikeshed comment for what it's worth, but I was thinking how (in my experience) writing negative number literals is common but taking the negative of an array is relatively less common. I know K uses - for both, so disambiguation requires a space sometimes.

Since ayr displays results like -1.23, how about using - to write a negative number?

Examples:

     -4
-4
     - 1 2 3 
-1 -2 -3 
     -1 2 3
-1 2 3 

Byte counter box doesn't immediately update

How to repro:

  1. Type a key
  2. look at the byte count (it'll say 0 bytes - there's actually 1 byte)
  3. Press another key
  4. look at the byte count (it'll say 1 byte - there's actually 2 bytes)
  5. press backspace
  6. look at the byte count (it'll say 2 bytes - there's only 1 byte)
  7. press backspace again
  8. look at the byte count (it'll say 1 byte - there's actually 0 bytes)

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.