Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 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:

  • Fix Nex emitting a lot of repeating assembly instructions.
  • Improve Input/Output.
  • Wrap repeated functionality in functions.
  • Reimplement the way control flow is implemented in generated assembly.
  • Better error messages.

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

Copyright (C) David Filiks

About

A compiler for Nex Lang in C++

Topics

Resources

Stars

2 stars

Watchers

2 watching

Forks

Used by

Contributors

Languages