Skip to content
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

jsish.exe from website is an ELF binary #33

Closed
RussellHaley opened this issue Dec 19, 2020 · 3 comments
Closed

jsish.exe from website is an ELF binary #33

RussellHaley opened this issue Dec 19, 2020 · 3 comments

Comments

@RussellHaley
Copy link

Hello Peter,

It is with mixed feeling that I see you on github. Did you abandon fossil? I saw fossil being used in an embedded project and it made me think of you.

I tried downloading the windows binary but it's an ELF binary:

russh@LAYNE MINGW64 ~
$ wget http://jsish.org/bin/jsish.exe
--2020-12-19 13:10:20--  http://jsish.org/bin/jsish.exe
Resolving jsish.org (jsish.org)... 50.116.0.90
Connecting to jsish.org (jsish.org)|50.116.0.90|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://jsish.org/download/jsish [following]
--2020-12-19 13:10:20--  http://jsish.org/download/jsish
Reusing existing connection to jsish.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 9053045 (8.6M) [application/octet-stream]
Saving to: 'jsish.exe'

jsish.exe                     100%[=================================================>]   8.63M  2.93MB/s    in 2.9s

2020-12-19 13:10:23 (2.93 MB/s) - 'jsish.exe' saved [9053045/9053045]

russh@LAYNE MINGW64 ~
$ file jsish.exe
jsish.exe: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, with debug_info, not stripped

I was looking at JSI again because there has been a discussion on the new LuaForum.com site about Lua and JavaScript. A number of people have lamented at the lack of embedded JS. I have obviously been directing them to your site. I am a moderator on the site and I invite you to create an account and write an article on JSI. I'd offer to do it but I'm neck deep in other projects.

Anyway, you might be amused to hear I've largely abandoned all other languages besides C and Lua in my personal time. I've been using C exclusively over the last 9 months at work too. I am creating an Windows based llvm-mingw toolchain called WinLua. My work computer is KUbuntu and my primary IDE is Geany. Just picture me shaking fist playfully at you. Is there any new technology tidbit you would like to elucidate me with before I waste more years fussing? Ha ha.

Hope you're well. Merry Christmas!

@pcmacdon
Copy link
Owner

pcmacdon commented Dec 20, 2020 via email

@RussellHaley
Copy link
Author

Merry Christmas and Happy New Year! I am working at StarfishMedical now. It can be stressful, but lots of fun!

Ping me when you get something working with your new CMS. That sounds very cool.

The download works correctly now. I am seeing the following output in the interactive shell:

C:\temp> .\jsish.exe
Jsish interactive: see 'help [cmd]' or 'history'.  \ cancels > input.
$ var t = 1 + 2;
READ: var t = 1 + 2;

variable
$ t
READ: t

3
$ puts(t);
READ: puts(t);

3
$ history
READ: history

$ history;
READ: history;

variable
$ puts(history);
READ: puts(history);

undefined
$

Is the "READ ..." part of the correct output or have I done something incorrect? If it is correct, then I will close this issue.

@pcmacdon
Copy link
Owner

pcmacdon commented Jan 5, 2021

Right, the READ is actually a residual debug message when readline is disabled. I'll remove it in the next release (in a couple of days)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants