Thanks to visit codestin.com
Credit goes to github.com

Skip to content

iiHaSTe/haste-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haste Lang :D

Is a semicolon based language (I don't want to suffering while im make this language so eat grass) and generale purpose language. fast (Not yet because Im currently making it in my mobile device so i have to translate it to JavasScript to run the code which is cool feature) and i run out of creativity so wait a 3000 year while im thinking about new features XD.

[Note: All language features and subject are temporary and able to change] [Fun fact: I'll forgot that language for a while. My environment piss me off (im using mobile). i didn't know the project will get that complicate. so no Haste for a yeaaaaaars :(']

Features:

  • How to try it?
    Just install the repo in your device and make a folder inside the project called dist which has the JavaScript output.

  • They are some native data types like:

String: "I'm a string :D"
Integer: 69 (y'all need some one to wash your mind 💀)
Float: 69.69 (🤨)
boolean: false false true true false true true false false false true true true false false true

  • And some built-in methods:

print: print "I love penguin 🐧";
exit: exit 0;
[Note: I'll make it possible to apply an parentheses to methods as optional way (just if they're one argument applied to the function)]

  • Variable declaration:
var msg = "Hey!!!";
var msg_2 = "\"Hello :0\"";
var h = 32;
  • Comments (Cuz why not!):
# Comment :D (I don't like the hash mark style I'll change it latter on)
  • Code sample:
print "Don't wait for me to write 'Hello world' here!";
print 69;
print 69.69;
print true;
print false;
exit 0; # ends the program :D
  • Very Very Very BIG Secret...

I will add a main method
Don't worry i wouldn't make java's misstake

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages