Skip to content

An easy to learn and use, interpreted programming language written in C++.

License

Notifications You must be signed in to change notification settings

FujiwaraChoki/BytrixLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bytrix

Bytrix is an interpreted programming language that is designed to be easy to learn and use. It is a dynamically typed language, which means that you don't have to declare the type of a variable before using it. Bytrix is also a garbage collected language, which means that you don't have to worry about memory management.

Usage

Windows

bytrix <file name>

Linux

./bytrix <file name>

Installation

Windows

  1. Download the latest release from here.
  2. Move binary to your C:\Windows folder.
  3. Run setx path "%path%;C:\Windows" to add the binary to your path.

Linux

  1. Download the latest release from here.
  2. Move binary to your /usr/local/bin folder.
  3. Run chmod +x /usr/local/bin/bytrix to make it executable.

Compile from source

  1. Clone the repository
git clone https://github.com/FujiwaraChoki/BytrixLang.git
  1. Go to the source folder
cd BytrixLang/src
  1. Compile
clang++ Bytrix.cpp -o bytrix

Examples

Hello World

/* Hello World in Bytrix */
print "Hello World"

Ask user their name and output it

/* Ask user their name and output it */
input name -p "What is your name? "
print "Hello $name! Nice to meet you!"

About

An easy to learn and use, interpreted programming language written in C++.

Topics

Resources

License

Stars

Watchers

Forks

Languages