Pasha Bibko 050eeb5a53 Allowed multiple functions + non "main" functions
Also fixed a bug in the lexer and changed how AST is logged.
2025-05-08 16:03:54 +01:00
2025-05-05 23:55:22 +01:00
2025-05-05 16:45:34 +01:00
2025-05-05 23:55:22 +01:00
2025-04-22 11:17:34 +01:00
2025-05-08 14:32:33 +01:00

LX Language

This is my custom compiled language written in C++ based off of the LLVM toolchain. Do not use the language in it's current state unless you are insane.

Planned features (in order)

  • Operations (Maths + BinOp)
  • Functions
  • More than just int as a type
  • References / Pointers
  • Structs / Classes (Polymorphism + vtables)

Codebase

  • New features

Stuff I want to do later (unordered)

  • I/O manager (Console, Files)
  • Debugger support
  • Extensions for vscode / vs22
  • Build system
  • SSA (Static single assignment)
  • LX-Core (Basic Standard Lib)
  • SIMD (Single instruction, multiple data)
  • Built in features for multi-language codebases (C, C++, C#, Rust...)
  • Custom Linker written in rust
  • Package manager
  • Custom optimiser (as well O3 in Clang)
  • Complicated LX-Core:
    • Graphics APIs support
    • Networking support
    • WinAPI compatiability

Stuff I might do later (but probably won't)

  • JIT (Just in time compiler) / Interpreter
  • Different compiler backends
  • Python support
  • Non-windows OS support
  • Database support
Description
No description provided
Readme MIT 260 KiB
Languages
C++ 92.6%
C# 7.2%
LX 0.2%