Skip to content

MrMineev/Hyperion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

🌓 Hyperion

Hyperion is a simple programming language. To import standard libraries, write:

import std <name>;

To import stuff from other files, write:

import module <name>;

There are for, while loops:

while (condition) {}

for (let i = 0; i < n; inc i) {}

In Hyperion, there are the keywords inc and decr. inc adds one to a variable and decr subtracts one from a variable.

To declare a function, use the def keyword:

def f(n) {
  return n + 1;
}

There are also if statements.

if (condition) {
} else {
}

TODO

Links

  1. Hyperion Reference (https://mrmineev.github.io/articles/hyperion/hyperion)
  2. Hyperion Package Manager (https://mrmineev.github.io/articles/hpm/hpm)

About

The goal is to build a programming language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages