psiayn / spressolisp Goto Github PK
View Code? Open in Web Editor NEWlisp in rust
License: BSD 3-Clause "New" or "Revised" License
lisp in rust
License: BSD 3-Clause "New" or "Revised" License
Various examples that demo language features
All the jedi powers
Some of the code isn't formatted. Can be fixed by running cargo fmt
.
We should also enforce formatting by checking for formatting in CI. See this for an example.
CI takes around 2 mins to build and test - most of which is downloading and building dependencies. This can be cached.
See mobusoperandi/michie#52 for an example on how to add cache to CI for a rust project.
Vimtutor but much smaller baked into the repl.
Adding aesthetics to the repl such as
Start with at least
Reduce, filters, further testing of map and other functions.
Something like this is heresy against lisp (shows current behaviour):
spresso> print
built-in function
spresso> print "hello"
"hello"
spresso> + 10 20
20
spresso> define x 10
Runtime Error: Symbol not found: x
In input[3]:
1 | define x 10
^
spresso>
Example:
spresso> (1 2 3 4)
1
This just returns the value of the first expression (1
) and ignores the rest. It's not good to implicitly ignore expressions. An error should be raised indicating that 1
is not something that can be executed. This syntax should only work for functions and lambdas that can be executed with some args.
When executing (print "Hello, World!")
, the output is "Hello, World!"
, instead it's better to have Hello, World!
.
But then if we are printing a list containing a string or likewise, we want to print quotes to clearly show it's a string.
One idea could be could be to handle a single Atom::String
separately.
cargo clippy
currently emits nearly 50 warnings (and 1 error) on the current code base.
Tasks:
cargo clippy --all-targets --all-features
and fix all code improvements suggested by it.cargo clippy --all-targets --all-features -- -D warnings
as a step to CI (after build, test, fmt, etc.) to ensure we have always have a codebase that satisfies clippy. The command was suggested hereA 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.