phoe / cafe-latte Goto Github PK
View Code? Open in Web Editor NEWAn implementation of Common Lisp dynamic variables, control flow operators, and condition system in plain Java.
License: GNU Affero General Public License v3.0
An implementation of Common Lisp dynamic variables, control flow operators, and condition system in plain Java.
License: GNU Affero General Public License v3.0
Currently each test makes a new set of instances at each execution; this kills efficiency because ideally you would only instantiate e.g. a Tagbody or a HandlerCase once and then call out to it.
We need tests that verify that each control flow structure can be entered multiple times by the same thread. In the future, also check its reentrancy.
There is no need to check the stack for blocks and tagbodies - we should be able to use a true-initialized boolean variable instead and set it to false when the block/tagbody goes out of scope.
As I understand your flow control exceptions, the stack trace is not needed for debugging or similar purposes:
See: https://www.baeldung.com/java-exceptions-performance
so you can override fillInStackTrace
in Throwable
(or make it configurable with a global flag?)
@Override
public synchronized Throwable fillInStackTrace() {
return this;
}
This should return a pair of a nullable return value and a nullable error to better map to the CL API.
http://www.lispworks.com/documentation/HyperSpec/Body/05_b.htm
This is likely incorrect in the current naïve implementation of control flow operators. Write tests, fix revealed bugs.
No need to allocate them anew each time since that negatively affects performance; just mutate them and let them go on their way.
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.