Skip to content

nulldatamap/bu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BU

What is it?

BU is a little project and challenge for myself. The point is to build a set of programming languages, starting from the Buttom Up. That means starting with assembly and no libraries, just me, my assembler and the OS. From that, I'm going to build up "level" of abstractions.

How to run it

This only runs on x86_64 linux.

It requires nasm to assemble and ld to link.

Build with ./make

Goals

Level 0: l0

The goal for level 0 is to make a simple low-level programming language ( like C ) as a basis for level 1.

  • Basic terminal input and out

  • A state machine for tokenizing

  • My own memory allocator

  • A parser + AST builder

  • AST validator

  • A simple executable generator

Level 1: l1

TODO

About

From assembly to a high-level programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages