1.0.11 • Published 2 years ago

august-lang v1.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

npm version

August-lang

My first complete computer language.

Contact me for help, because I will respond. amukh1#9613

Prerequisites

This project requires NodeJS (version 8 or later) and NPM. Node and NPM are really easy to install. To make sure you have them available on your machine, try running the following command.

$ npm -v && node -v
6.4.1
v8.16.0

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installation

BEFORE YOU INSTALL: please read the prerequisites

To install and set up the library, run:

$ npm install august-lang

Or if you prefer using Yarn:

$ yarn add --dev august-lang

Usage

august-lang takes 2 file extentions, .aug and .asm.

aug is the language.. (August) and putting in an aug file compiles it to an asm file.

$ aug ./file.aug
$ august ./file.aug

ASM is the ASSEMBLY language, which compiles to bytecode.

$ aug ./file.asm

Example program:

Load 06 I love programming;
Output 06 06;
STDOUT >>programming is cool>>;
Add 01 14,15;
Output 05 01;
End;