Skip to content

dafiliks/nex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nex Lang

Nex Lang is a toy programming language, written in C++, that was created as a side project (hobby).

Features:

  • Variables
  • Exit statements
  • Mathematical operations
  • Comments
  • Arrays
  • Set statements
  • Go statements
  • Reassignment
  • Ifz (If zero) statements
  • El (Else) statements
  • Input
  • Output

Starting out:

Todo:

  • Currently, Nex Lang emits a lot of repeating assembly instructions
  • Compiler needs better error messages - preferably with line numbers
  • Adding to the first point, assembly needs to get optimized more

These improvements will probably be a part of my next compiler instead of being added to this project.

Copyright (C) David Filiks

About

A toy compiler for a Brainfuck-like language in C++

Topics

Resources

License

Stars

Watchers

Forks