remoo69 / Compiler-Sheesh

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

Issue with (....) #38

Closed jldav1d closed 2 weeks ago

jldav1d commented 4 weeks ago

From New Test Cases

Expected: No Error

Code:

sheesh(){
    text name = "hello"#
    text f_name = name..."world"#
    text s_name = "first_name"...f_    name#
    text l_name = t_id()...id[0]#
}

Error Message: Line 4, Token 5: Invalid Delimiter for Symbol '...', '[n]', expected ['"', '“', '"', '”', ' '] Line 5, Token 6: Invalid Delimiter for Symbol ')', '[.]', expected ['+', '-', '*', '/', '%', '<', '>', '!', '=', '!', '|', '&', ',', ' ', '#', ')', '}', '{', ':'] Line 5, Token 6: Invalid Delimiter for Symbol '...', '[i]', expected ['"', '“', '"', '”', ' ']

remoo69 commented 2 weeks ago

ah pwede pala id HAHAAHAHAH

remoo69 commented 2 weeks ago

weh pwede ba yung cases na yan

remoo69 commented 2 weeks ago

fixed?

image

jldav1d commented 2 weeks ago

yep, allowed variables basta declared as text. Ty for the fix #bestprogrammer