Comments (11)
runbench.lsp has always been incomplete. I will investigate.
from eisl.
I understand one of the causes. The fib function of fib20.lsp. The code uses the eq function at the base. That is undefined behavior. Numerical comparisons must be = functions. It is probably OpenLISP processing dependent that works with eq.
(defun fib (n)
(cond ((eq n 1) 1)
((eq n 2) 1)
(t (+ (fib (- n 1)) (fib (- n 2))))))
from eisl.
Another issue is garbage collection. It looks like data is being lost when the GC happens.
from eisl.
In browse.lsp I found that EISL was taking the cdr of nil and causing an error.
from eisl.
In traverse.lsp, EISL started garbage collection and caused a segmentation fault.
from eisl.
The eq function was used in oddp in frpoly.lsp. This is process dependent. I modified it to = function
from eisl.
The value of * bignum * is not calculated correctly in runbench.lsp. This is because parse-number does not support bignum in EISL. Also, the value of the argument r is unknown in the calculation of frpoly.
from eisl.
I made the parse-number correspond to bignum.
from eisl.
Fixed GC for quasi-quote. As a result, takl.lsp can run with GC.
from eisl.
EISL evaluates cdr of nil in browse.lsp. This is an error in ISLisp standard.
from eisl.
I fixed some bugs and modified implementation-defined codes. As a result、EISL can load runbench.lsp.
from eisl.
Related Issues (20)
- make error on MacOS HOT 10
- Array `queue` Out Of Bound when Running on MacOS HOT 7
- Formatter bug HOT 1
- Unquote doesn't work inside vector syntax HOT 1
- type inference in Lisp - typed racket HOT 5
- `finish-output` fails when called on `(standard-output)`. HOT 1
- error: function definition is not allowed here HOT 2
- Pls add asinh function HOT 1
- matrix.lsp gives compiler error undefined <general-vector> HOT 17
- `create-array` when given one dimension parameter returns <basic-vector> instead of <general-vector> HOT 1
- bug of compiled mult HOT 1
- Compile error HOT 1
- bug of compiler HOT 1
- Build fails: Data segment size exceeds process limit HOT 2
- Bug of type inference HOT 1
- ctrl+c in compiled Lisp code. HOT 1
- Build failure on MacOS 14.5 HOT 8
- Error handling in multi-process HOT 1
- Plan of distributed parallel HOT 12
- Calling built-in functions consumes a large number of cells. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eisl.