Skip to content

The official implemetation of the haste programming language

License

hesham-cant-fly/haste-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haste Programming Language

Haste is a general-purpose programming language, build to match my own taste of programming. Why? because all languages sucks thats why.

func main() {
  @println("Hello, World!"); // anything that starts with `@` is consider as macro expantion

  const mini_program = "++-++++** / * *";
  var result: fsize = 0;

  for ch in mini_program {
    match ch {
      case '+' do result += 1;
      case '-' do result -= 1;
      case '*' do result *= 2;
      case '/' do result /= 2;
      else {} // Ignore anything else
    }
  }

  @println("Result: {}", result);
}

The Compiler

The compiler is nowhere is ready to use. its still under development.

The mascot (Turbo the Turtle)

This turtle is my first ever pixel art I did, long ago in 2020. why I want it to be the mascot as my first pixel art. img/turbo.png

About

The official implemetation of the haste programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages