Skip to content

ziyasal-archive/sky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sky

Super simple programming language and tiny compiler developed for educational purpose in Scala

Motivation

Coding4fun, just trying to simplify how compilers work for who has interest

How it works

Compilers(mostly) have 3 primary stages;

Parsing

  • Lexical Analysis
  • Syntactic Analysis

Transformation
Make some changes on AST

Code Generation
Create code from AST

              /----------\      /-----------------\       /-----------------\
 /------\     |          |      |                 |       |                 |
 | Raw  |____ | Parsing  |_____ | Transformation  |______ | Code Generation | 
 | Code |     |          |      |                 |       |                 |
 \------/     \----------/      \-----------------/       \-----------------/

Sample

//TODO:

Links

Step-By-Step Guide

TODO:

About

Super simple programming language and tiny compiler developed for educational purpose in Scala

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages