Gidsss / UwUIDE

A compiler made to be cute uwu >~<
6 stars 0 forks source link

Remove array info on lexer table #305

Closed HolyShaq closed 3 months ago

HolyShaq commented 3 months ago

Changes:

HolyShaq commented 3 months ago

Smart. Asa biyahe nako tho, irefactor ko nlng sa school

am-cid commented 3 months ago

what I meant was not using re at all and just doing .split('[')[0] since split() is a safe operation (does not raise). image

HolyShaq commented 3 months ago

ohhhhhhhhhhhh myb myb yea thats way better

HolyShaq commented 3 months ago

Actually, that may conflict with our double bracket tokens, no? It'd split it unless I make an exception for them

am-cid commented 3 months ago

oh i thought it was specifically just for data types. i see you're enumerating over all tokens. then nvm. approved