Skip to content

Just a fun project I am working on to build my own compiler for my own language called Newlang.

Notifications You must be signed in to change notification settings

alex-tgk/Newlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Lexer
    • Integers
    • Strings
    • Identifiers
    • Reserved Keywords
    • Decimals
    • Single Letter Operators
    • Multi-Letter Operators
    • Comments
  • Parser
  • Abstract Syntax Tree
  • ASM Conversion
  • Compiler Warning/Error System
    • Column, Row Specified Error Output

Syntax

Semi-Colons (Totally Optional!)

var customers[] = ['George'];
customers[1] = 'John'
customers[2] = 'Jacob';

Variable Declaration

var UnitializedVariable;
string VariableName = "Hello World":

Comments

// This is a single line comment.
// This is another single line comment.
/*
    This is a multi-line comment block.
*/

About

Just a fun project I am working on to build my own compiler for my own language called Newlang.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published