This is a scripting language that I'm creating for the sole purpose of learning how programming languages are made. Are there any bad things in my code/safety concerns? (Also, the Parse/Expression folder is incomplete).
The lexer has a tokenizer, simple error detection, tokens created by syntax (variable tags etc), and comment detection.
Example syntax of the language:
var <const> var_name = 1 // var <variable tag> variable_name = value
var B = 3
display(var_name) // print statement
if (B > var_name) begin
display("B is greater than var_name")
else
display("B isn't greater than var_name")
end
(Please import the project into Visual Studio 2022, as it was made with it)
https://github.com/RUBYR-AY-development/simple-language-proto