Skip to content

Components of programming languages, all implemented in self-contained files

Notifications You must be signed in to change notification settings

RiscInside/LanguageEtudes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language etudes ♫

Repository accomodating a bunch of single-file typechecker/interpreter/compiler implementations.

Table of contents

Interpreters

File Description
scala/nbe.sc Plain and CPS-transformed NbE lambda calculus interpreters in Scala, along with a performance comparison. Run with scala-cli run nbe.sc -- 1000 5.
ocaml/nbe.ml NbE interpreters for LC in Ocaml. Run with ocamlbuild ocaml/nbe.native --.

Typecheckers

File Description
scala/holes.sc Basic typechecker for a bare bones dependently typed language using NbE. Based on elaboration-zoo/03-holes. Has no frontend yet, but you can run some examples with scala-cli run scala/holes.sc

Resources

About

Components of programming languages, all implemented in self-contained files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published