Re: [phix] what is a hybrid interpreter compiler?
- Posted by _tom (admin) Jan 29, 2021
- 970 views
Is this a valid understanding?
Given some source-code:
As an ''interpreter''
- Phix reads, parses, makes IL code, ...
- errors are detected and reported in a programmer friendly way
- Phix then compiles the IL and saves to ram
- program then executes
As a ''compiler''
- instead of compiling to ram, it saves to a file
- you can run the program at any time (no need for Phix anymore)
be well
_tom