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

StandaloneExecutables: do executable scripts with embedded bytecode count? #1

Open
jpellegrini opened this issue Jul 23, 2021 · 1 comment

Comments

@jpellegrini
Copy link
Contributor

Hello,

STklos produces executable files that contain bytecode:

$ cat > hello.stk
(display "hello")
(newline)

$ stklos-compile hello.stk -o hello
$ ./hello
hello

$ cat hello
#!/usr/bin/env stklos-script
; A -*- Scheme -*- generated file *DO NOT EDIT**
STklos (#:version "1.60" #:globals () #:expanders ())
#("hello" display newline)
11
%UV%V/

(The "%UV%V/" part is the actual bytecode)

Does this cound as a standalone executable? (STklos is not listed in StandaloneExecutables.md).

@jpellegrini jpellegrini changed the title StandaloneExecutables: does executable btecode count? StandaloneExecutables: does executable bytecode count? Jul 23, 2021
@jpellegrini jpellegrini changed the title StandaloneExecutables: does executable bytecode count? StandaloneExecutables: do executable scripts with embedded bytecode count? Jul 23, 2021
@lassik
Copy link
Member

lassik commented Jul 23, 2021

Thanks for letting us know! IMHO STklos' approach should be mentioned in the survey. Looks like stklos-compile outputs ASCII bytecode.

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