Skip to content

Scuffed toy compiler for a TypeScript-like language

Notifications You must be signed in to change notification settings

Polygonalr/scuffscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ScuffScript

Heavy (but slow) works in progress.

A TypeScript-like language that compiles to LLVM with the help of MLIR. The main goal is to have a barebones library to interact with the OS's APIs, while supporting a few forms of parallelism, which can include having some GPU APIs to enable GPU computation and a stackful coroutine system that is designed after Golang's goroutines.

This monorepo contains two projects:

  • The ScuffScript compiler which is written in Rust. It deals with the lexing, parsing and translation of ScuffScript code into its MLIR dialect.
  • The ScuffScript MLIR dialect which is written in C++, and deals with all the heavy lifting of defining valid operations for ScuffScript's MLIR dialect and lowering them to LLVM.
    • Currently unmaintained and unused as I have no confidence in developing custom dialects.

About

Scuffed toy compiler for a TypeScript-like language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published