-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't run on 64-bit Linux #7
Comments
I'm not sure what is causing this problem. I build it on the Mac using X Code which is also a 64 bit target and I don't see these errors. I'll have to try it under Linux later. Sorry about the troubles! |
Actually, the reason it crashes when you enter an unbound variable is that you aren't loading all of the .lsp files that should be loaded at start. The debugging code is written in Lisp not in C so it gets loaded along with xlisp.lsp. If you run xlisp from a directory that contains those .lsp files your unbound variable shouldn't cause a crash. ` error: unbound variable - abc |
Yes, that fixes the problem. Thanks! Perhaps it would be good if xlisp detected the missing lisp files on startup, issued a message, and exited gracefully. Thanks! Blake |
It should probably be mentioned in the README.md file that the .lsp files are required for full functionality but XLISP does work without them. Someone could even provide their own support functions and not use the ones I provide.
If I might ask, what are you using XLISP for?
… On Oct 3, 2021, at 10:05 AM, Blake McBride ***@***.***> wrote:
Yes, that fixes the problem. Thanks!
Perhaps it would be good if xlisp detected the missing lisp files on startup, issued a message, and exited gracefully.
Thanks!
Blake
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAFL5VUZ3NVVPSV6JOHSJSDUFBPJXANCNFSM5FF26P3Q>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi David, I hadn't used it for anything yet. I have in mind a language that is a cross between Common Lisp and Scheme. I thought your XLISP would be a good starting point. In particular, I am interested in something like Common Lisp with the following differences:
My answer to "why not just use Scheme" is at Problems with Scheme It seems to me that XLISP would be relatively easy to do this with. Do you agree? Also, I'm interested in supporting native threads. Is XLISP a good candidate for that? Lastly, you may want to take a look at: Thanks! Blake |
XLISP already does 1 and 2. It should be pretty easy to make it case sensitive. I think supporting hardware threads would be difficult though. |
I know about 1 and 2. That's why I thought starting with XLISP would be a good idea. I wanted to move it towards Common Lisp in other areas as described in my "Problems with Scheme" paper. I think that will be easy. In terms of native threads, I figure that's a major architectural change not reasonable with XLISP. Cooperative threads should be doable. |
I think that Guile handles *native* threads ...
https://www.gnu.org/software/guile/manual/html_node/Threads.html
(I haven't used them in anything useful, so can't comment on them in depth)
To echo David's comment ... are you *sure* that you need native threads?
Many existing languages have nice ways of handling it.
…On Mon, Oct 4, 2021 at 8:41 AM Blake McBride ***@***.***> wrote:
I know about 1 and 2. That's why I thought starting with XLISP would be a
good idea. I wanted to move it towards Common Lisp in other areas as
described in my "Problems with Scheme" paper. I think that will be easy.
In terms of threads, I figure that's a major architectural change not
reasonable with XLISP.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKL5LYHNHJOPMH3E7AR2JSLUFGVJZANCNFSM5FF26P3Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Greetings,
I am trying to run xlisp on my 64-bit Linux box. What I see is as follows:
So basically I type in an undefined variable name and it crashed. Any help would be appreciated.
Blake McBride
The text was updated successfully, but these errors were encountered: