[Compiler Tower] A better Python plan

2024-12-13 Thread Nala Ginrut
Recently I've heard about Starlark, which is described as "Starlark is a dialect of Python. Like Python, it is a dynamically typed language with high-level data types, first-class functions with lexical scope, and garbage collection." I think it could be easier than implementing original Python. h

Re: Running Compiled Guile Objects

2024-12-13 Thread Nala Ginrut
If you just want to run the .go file, this is not a good way to go, since it's binary format inside ELF can be changed in different Guile version. And Guile compiler will handle these issues for you. So best practice is to always run from a script and let Guile do the rest for you. But if you real

Re: Running Compiled Guile Objects

2024-12-13 Thread Nala Ginrut
Hi Keith! AOT stands for "Ahead-of-Time," and in this context, it refers to the process of compiling source code directly into native machine code, allowing the program to be executed as a regular binary file without requiring a runtime interpreter. @Hakan The current .go file will be generated an

Re: Running Compiled Guile Objects

2024-12-13 Thread Keith Wright
Nala Ginrut writes: > The current Guile is not AOT yet. Google says: Attack On Titan. > Although the object file is ELF, it's just bytecode wrapped ELF > header. So you can't run it as a regular executable file. I don't think that was the question...Hakan wants to call the Guile executable and

Re: Running Compiled Guile Objects

2024-12-13 Thread Nala Ginrut
Hi Hakan! The current Guile is not AOT yet. Although the object file is ELF, it's just bytecode wrapped ELF header. So you can't run it as a regular executable file. Best regards. On Sat, Dec 14, 2024, 07:35 Hakan Candar via General Guile related discussions wrote: > Dear Guile Users, > > I am

Running Compiled Guile Objects

2024-12-13 Thread Hakan Candar via General Guile related discussions
Dear Guile Users, I am unable to run guile objects directly from the command line. I inspected the manual thoroughly, however I did not see any mention of my desired action. Is it possible to execute guile objects directly, or are they reserved for internal caching mechanism only? I tried the