Skip to content

MisakaCenter/Pistolet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pistolet (WIP)

🔫 Elegant ML-like Imperative Programming Language

Basic

  • Abstract Syntax Tree
  • Lexer
  • Parser
  • Interpreter
    • Syntax
      • Let (Var binding)
      • If (control flow)
      • Loop (control flow)
      • Function Definition (Function binding)
    • Evaluation
      • Int, Float and Boolean Evaluation
        • const
        • var
      • Function Call Evaluation
  • Compile to LLVM IR
  • Static Analysis (Visualize Control Flow Graph)
  • Compiler Optimization
  • Interpreter Optimization (Stack Overflow)

Language Feature

  • Type Definition
  • Pattern Match

Integrated Development Environment

  • Code Highlight in VS Code
  • Type Inference

Document

  • Language BNF
  • Syntax & Grammar Tutorial
  • Examples