powerlang / egg

Egg Smalltalk
MIT License
13 stars 2 forks source link

Separate AOTing from bootstrapping #6

Open melkyades opened 3 years ago

melkyades commented 3 years ago

The process should be:

  1. Generate a module with the kernel objects (classes, methods, no native code) in some format that can be written to a file/set of files.
  2. For DMR, take the module file, and for each method generate native code from the astcode. The output could be another file.
  3. Either link both files together or leave that to the launcher.

As you see, this is a very raw design. Many questions arise: what would be the format of the module? what the one of the native code file? how do you link both things?