CunningBard / bisaya-lang

It's probably already abandoned
5 stars 1 forks source link

[Request For Opinion] Virtual Machine Development #2

Open CunningBard opened 1 year ago

CunningBard commented 1 year ago

The Bisaya Language will have its Byte Code so that A The Program written on it can be Exported as a Binary, Since The Parser Takes time to convert Source To Ast, So I'm Thinking of turning that AST into a Binary Representation so that we can use Virtual Machine

I'll be asking for an Opinion on how to format the byte code. We can take inspiration from Python's Bytecode

CunningBard commented 1 year ago

Since I'm thinking of doing it kinda stack-based The basic commands will be,

Load and Set are basically accessing the value of a variable

CunningBard commented 1 year ago