Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 768 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 768 Bytes

gospl - SPL compiler written in Go

Introduction

gospl is a compiler for SPL (Simple Programming Language) written in Go. It is my second attempt at writing a compiler (kompilator being the first).

Credits

  • Some of the design is heavily borrowed from the Go scanner and parser.
  • The definition of SPL has been taken from the Compiler Construction course of Radboud University Nijmegen, The Netherlands.
  • Tests 0 to 23 were borrowed from Jille/splparser.
  • Algorithm for operator precedence from this blog post.