Ritchie

A small compiled programming language similar to C.

View the Project on GitHub amukh1/Ritchie

npm version

Ritchie

A small compiled programming language similar to C.


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

A small note

I have already developed a sequel to the language - Ritchie++ - which is much more stable, check it out!

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 ritchie

Or if you prefer using Yarn:

$ yarn add --dev ritchie

There is also a vscode extension:

Extension Link

Or just search up “Ritchie” in the extensions section

img

Usage

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

rcomp is the compiler.. (Ritchie Compiler) and putting in an .rit file compiles it to an asm file.

$ rcomp ./file.rit name

ASM compiles to bytecode automatically on Linux (if your on Windows/OSX use an online compiler). Web Compiler

Example program:


import Stdio

function _start() {
println("hi", 2)
SYS::EXIT
}

Wanna learn more? check out the docs: Visit docs


Contributing

You can contribute to the project by making a pull request on GitHub.

Credits

Amukh1.

Built With

Authors

See also the list of contributors who participated in this project.

License

MIT License © Amukh1