Any ideas for a new language inspired to Python?
Tony Flury
tony.flury at btinternet.com
Fri Sep 4 10:59:56 EDT 2020
On 08/08/2020 18:18, Marco Sulla wrote:
....
> Thank you, some features are interesting, even if I prefer the Python syntax.
>
> What about the compiler? Is it better to "compile" to C or to
> bytecode? How can I generate a bytecode that can be compiled by gcc?
> Can I skip the AST generation for now, or it will be a great problem
> later?
Most modern compilers use an AST - it is simply an internal
representation of the syntax, and for most compilers it it is an
intermediate step before code generation.
I think you mean skipping the bytecode generation and generating
straight to C/machine code.
--
Tony Flury
More information about the Python-list
mailing list