RodrigoDornelles / 3bc-lang

Low-level language, tiny virtual machine, minimal runtime, intermediate representation, embeddable, easy for beginners. (Friendly Punched cards)
https://3bc-lang.org
GNU General Public License v3.0
239 stars 26 forks source link

support temporary/fixed virtual machines #350

Open RodrigoDornelles opened 2 years ago

RodrigoDornelles commented 2 years ago

categorize into two types of virtual machine, fixed and temporary. the purpose is to facilitate the creation and destruction of machines to simulate memory protection feature.

it can also be useful in projects where machines are constantly created and destroyed.

fixed machine

are indicated for when greater control over the machine is needed, such as an orchestrator embedded in another language. (ideal for working with pools)

temporary machine