• Gravity
  • Internals
  • GitHub

1. OVERVIEW

  • Introduction
  • Changelog
  • Gravity files

2. PREREQUISITES

  • Overview
  • Array
  • Hash
  • Memory
  • Utils
  • JSON
  • Visitor Pattern
  • Stack vs Register VM
  • Class and metaclass

3. COMPILER

  • Overview
  • Grammar
  • Lexer
  • Parser
  • Pratt Parser
  • AST
  • Symbol Table
  • Semantic Analyses
  • Opcodes
  • IRCode
  • Code Generation
  • Optimizer
  • Bytecode

4. RUNTIME

  • Overview
  • Object Model
  • Memory Ownership
  • Virtual Machine
  • Efficient Interpreter
  • Base Classes
  • Garbage Collector

5. LLVM

  • Overview
  • LLVM JIT

Class and metaclass


Content will be available soon.