Skip to content

bl4ckkdev/IOzide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text A programming language made in C#. The name is inspired by an old program by IBM called "IOzone".

⚠️ This language is in very early stages. While completely functional, it is missing a lot of features and it isn't stable.

Features

  • Supported data types: Float, String, Boolean, Structs(ish) & Functions
  • Print & input functions, as well as multiple other native functions
  • Custom functions with nesting support
  • Compiler, Interpreter & REPL
  • Custom structs
  • Comments
  • For/while loops, if statements
  • Multiple file projects
  • Classes
  • Namespaces

Examples

Hello world

output("Hello, World!")

Code that uses variable & function declarations, as well as binary operations and the "print" native function.

let number = num(input("Enter a number: ")); ~ Creates a variable with a value provided by the user

fn increment(x, amount) {                    ~ Function with 2 arguments
    x + amount;                              ~ Returns x + amount
}

output(increment(number, 5));                ~ Prints value that function returns

Limitations

Currently, the language is missing crucial features while also not being stable.


⚠️ Note:

The base of the language is made using tylerlaceby's guide, completely ported from TypeScript to C#. This language does not follow good code practices and is probably very unstable, but I learned a lot of things making it which are likely going to be used when I make my next programming language.

Compared to the guide, my current version of the language follows all C# norms and has a TON more features.

About

A programming language made with C#.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages