Tag

vm

pandita 1 min read

Attribute Initialisation

Previously, there were quite a few limitations on the expressions that could be used to initialise an attribute in an object. None of these limitations were mentioned in the overview...

Read Article
pandita 2 min read

English-like Syntax

Indu uses an English-like syntax with very little use of symbols, unlike many other programming languages. This is intentional, but also quite controversial amongst professional programmers. I believe that using...

Read Article
pandita 1 min read

Growing a language?

Programming languages, like real languages, are big, sprawling things. You can’t expect to design a big, sprawling thing right. Instead, a language will adapt as it’s used; new features will...

Read Article
pandita 1 min read

VMs — Modules

There are a few guiding principles behind the design of Indu. Keep the language small with only a few constructs is one. Encourage building programs by assembling small pieces into...

Read Article
pandita 2 min read

VMs — Assignment

Assignment is interesting. It’s one of the few places where the syntax tree does map well to the execution, but you can’t get to where you want to go through...

Read Article
pandita 2 min read

VMs — Parsing and Syntax

So far the Pandita virtual machine has three phases: a parser that produces an abstract syntax tree, a compiler that takes the AST and produces byte-code, and a virtual machine...

Read Article
pandita 3 min read

Writing A Virtual Machine

For my side project, Pandita, I’ve started writing a virtual machine implementation of the core language, Indu. I’ve been doing this as a hobby in my spare time, roughly since...

Read Article