GithubHelp home page GithubHelp logo

Can't load benchmarks about eisl HOT 11 CLOSED

poldy avatar poldy commented on July 21, 2024
Can't load benchmarks

from eisl.

Comments (11)

sasagawa888 avatar sasagawa888 commented on July 21, 2024

runbench.lsp has always been incomplete. I will investigate.

from eisl.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

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.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

Another issue is garbage collection. It looks like data is being lost when the GC happens.

from eisl.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

In browse.lsp I found that EISL was taking the cdr of nil and causing an error.

from eisl.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

In traverse.lsp, EISL started garbage collection and caused a segmentation fault.

from eisl.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

The eq function was used in oddp in frpoly.lsp. This is process dependent. I modified it to = function

from eisl.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

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.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

I made the parse-number correspond to bignum.

from eisl.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

Fixed GC for quasi-quote. As a result, takl.lsp can run with GC.

from eisl.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

EISL evaluates cdr of nil in browse.lsp. This is an error in ISLisp standard.

from eisl.

sasagawa888 avatar sasagawa888 commented on July 21, 2024

I fixed some bugs and modified implementation-defined codes. As a result、EISL can load runbench.lsp.

from eisl.

Related Issues (20)

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.