Skip to content

ArtusLama/programmiersprache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VARIABLEN

int x = 10
bool x = true
str x = "hi"



FUNKTIONEN

str test<int a, int b> {
    
}


FALLUNTERSCHEIDUNG


if <test == "hallo"> {
    test = "hi"

} <test == "tschüss"> {
    test = "bye"

} <> {
    test = "dont know"
}




BUILDIN

casting

print <test>        OUTPUT
read <"input: ">    INPUT






<ERROR> 
-> page not found




str readFile<str file> {
    ? <read> {
        return file
    } ? <> throw "no permissions"
}

try{



    str content = readFile<"test.txt">
} catch {
    
}

Error handling?
...



# THIS IS A COMMENT

GRAMMAAAAARRRRR


print <"Hello World">   (PRINT | LESS | STRING/VARIABLE | GREATER)
int x = 10              (VAR_TYPE | VAR_NAME | EAQUALS | TYPE)
                            |--------- same types ---------|

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors