remoo69 / Compiler-Sheesh

Compiler for the self-developed language Sheesh#.
MIT License
2 stars 1 forks source link

syntax issue with deins #52

Closed jldav1d closed 1 week ago

jldav1d commented 2 weeks ago

Expected: No Syntax Errors Actual: Syntax Error

Code:

sheesh(){
    kung(x>5){
        up("$w is greater than 5",x)#
    } 
    ehkung(cap){
        up("hello")#
    }
    deins{
        up("$w is less than 5",x)#
    }
}

Error message: Line 8, Token 2: Unexpected "{" [{], expected -> ['sus', 'charr', 'choose', 'text', 'Identifier', 'whole', '}', 'yeet', 'up', 'for', 'bet', 'dec', 'kung']

remoo69 commented 1 week ago

image grabe yung issue HAHAHAHA typo lang