Carti-drillman / SimpleLang-1.0

0 stars 0 forks source link

Intepreter kinda broken? #1

Open mxjeonsg opened 2 weeks ago

mxjeonsg commented 2 weeks ago

My setup

The problems

First, it errors out of nowhere, with no line mark no nothing, it's hard to trace where the error is at. Screenshot_2024-11-06_01-33-33

(It says SimpleLang 2.0, but i updated it with the 1.0 one, just I didn't rename the folder bc im lazy:3) And in that example I passed at first an empty file to test why would error without having to fail. Now if I pass this file (I'll write here the file content) to the interpreter:

set string "This is a sample string. Nothing KGB should worry about."

print string

Screenshot_2024-11-06_01-40-28

It'd still error out, and print the string with quotes still.

Another errors to point out, is that variables have nearly zero usage other than passing them to commands, if you try to add a variable the value itself (a real use case):

set counter 1

add counter counter

It'd set the value of counter to zero.

When there are tooo much lines of code, it'd error out as the first example, but twice.

Suggestions apart of errors?

I think that's all. Keep it up lil bro. Oil up though. folded-hands_1f64f

This is a demo. [https://www.youtube.com/watch?v=At8v_Yc044Y]()

Carti-drillman commented 1 week ago

Well, SimpleLang doesn't work like that. You must type this in your terminal code(pls dont put code, it just tell you that the code is next the text) = SimpleLang_thegamechanger yourfilename.slp or SimpleLang3 yourfilename.slp , and you can just update the interpreter version. Just download when the new version was out ok?

Carti-drillman commented 1 week ago

R U OK WITH THAT?