Skip to content

A statically typed, general-purpose programming language, crafted for simplicity and performance.

Notifications You must be signed in to change notification settings

sajibsrs/corx-lang

Repository files navigation

corx

A statically typed, general-purpose programming language, crafted for simplicity and performance.

"Trust the programmer" - corx

corx programming language

# About corx

corx is a simple, efficient programming language designed for systems-level programming with a focus on manual memory management and minimalistic syntax. With corx, you have full control over system resources, offering maximum performance and clarity, without the overhead of complex language features. Whether you're developing performance-critical applications or need a low-level language with modern features like contract-based design, corx is built to meet those needs.

Explore the documentation and learn how corx can help you write clean, efficient, and performance-driven code.

# Status

1. Lexer

  • Create initial lexer
  • Recognize different tokens
  • Track line and column for every token
  • Handle different comment types
  • Handle undefined tokens
  • Error reporting
  • Testing

2. Parser

  • Create initial parser
    • Context-free grammar (CFG), EBNF (Extended Backus-Naur Form)
    • Implement recursive parsing
    • Eliminate left-recursion
    • Abstract Syntax Tree (AST)
    • Error handling
    • Error reporting
    • Testing
  • REPL (Read-Eval-Print Loop)

3. Intermediate Representation (IR)

4. Semantic Analysis

5. Code Generation

6. Optimization

7. Documentation


Note: corx is currently under development. Its syntax and grammar are being finalized. The language design is still in progress, and a compiler has not yet been implemented.

About

A statically typed, general-purpose programming language, crafted for simplicity and performance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published