conorobrien-foxx / stacked Goto Github PK
View Code? Open in Web Editor NEWA practical stack-based language with an emphasis on functions.
A practical stack-based language with an emphasis on functions.
Removing "
from each definition should suffice a fix.
Many constructs, such as lists, lambdas, and funcs, do not complain about hitting EOF.
Running list of missing functions.
Consider the following program:
{ xv yv :
xv yv #, transpose
$- #/ $square + map sum sqrt
} @:dist
It takes its arguments as, e.g., (1 2) (3 4) dist
. Now, with pattern matching, we could write this as:
{ (x1 y1) (x2 y2) :
x1 x2 - square y1 y2 - square + sqrt
}
Another example:
{ ((a b) (c d)) :
a b - c d - +
}
Currently, there is no way to automatically install the node packages. The following packs must therefore be installed independently:
clear
readline-sync
minimist
For example, when trying to call (1 2 3 4) transpose
, a JS error appears. Ideally, all JS errors are purged.
The definition for falsey has the following condition (line 626):
c |= isNaN(tp);
This is true for more than NaN
.
There's online
, but no onend
--thus, it is hard to find when there is no more data.
{ a i :
[a i pop # i rget] [a] i size ifelse
} @:rget
Implement *<Func, Decimal>
, *<Decimal, Func>
, *<Lambda, Decimal>
, *<Decimal, Lambda>
.
Also, implement, for a func-like f
, arr f spread
. Equivalent to an infix f(*arr)
.
For example:
> (3 4) $add spread
(7)
There are currently no *
or conj
methods.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.