12 Respostas
+ 9
@Kuba.. But there are a lot of Python compilers! So it defenetly CAN
+ 8
@Kuba, I had one math expression compiler without any libraries. Old code written within 1 day
..
And now I'm looking forward to use some LLVM framework. To generate optimized code much more easelly.
If you want to learn it with me and try something challenging - write in my collaboration thread.
We will make it possible!
+ 7
Yeah, you are...
But... you can create your own module in C++ if you want at any time!
So let's think there MIGHT BE a modules for everything.
+ 7
@Kuba... Compiled to run with their 'natural environment'... =~)
+ 7
@Kuba, yeah, maybe...
Let's make our own compiler!
I know how to fix some issues...
Maybe we will lose dynamic variables allocation(And then we'll add var table)
Maybe we will losr objects(But they are just dictionaries, so we'll add them)
Something else?
+ 7
If you want a compiler, you have to go down a level or two, in a programming sense :) That's where the fun starts ;)
+ 6
Those are not compilers - those are "embedders" :)
They make the code executable, sure. But the program itself is still not compiled - it just unpacks an interpreter on the go and runs it (along with all necessary imported modules).
+ 6
interpreted langs are compiled
langs
* i see people are afraid of this statement
maybe if they asked i'll give the
explanation . . .
+ 5
You can imagine driving an electrical cofee machine with Python... but you cannot find module to use it for directly produce cofee ;P
+ 4
@Michael I always underline this - Python executables are cool and all to show off and demonstrate something on different environments. But you have to take into account that it contains the whole freaking package - and might as well be a 20-40MB .exe file that when run - prints "Hello world!" and is terminated :)
+ 2
It can't compile :)