Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 826 Bytes

README.md

File metadata and controls

50 lines (36 loc) · 826 Bytes

Seron Programming Language

Features

  • Compiled to native Assembly
  • Static & Strong Typing
  • No dependencies

Currently, the only supported backend is x86_64 NASM.

Build Requirements

  • C11 Toolchain
  • Nothing else!

Usage Requirements

  • NASM (for assembly)
  • CC (for linking with C runtime)

Building Compiler

$ git clone https://github.com/lukasx999/seron.git
$ cd seronc/src
$ make

Building compile_commands.json for clangd

$ pipx install compiledb
$ compiledb make

Language Features

  • Extern Procedures
  • Add / Sub / Mul / Div
  • Procedure calls
  • Inline Assembly
    • Parameters
  • Procedures
    • Parameters
    • Returnvalue
  • Variables
  • While Loop
  • If/Else Statement