1
Programming Language source (simple)
jonathan111971 (0)

How can you make a programming language without doing like lexer and all that stuff? is there like already made sources i can use then like edit it and stuff so i can change the syntax and variables and function names like to set a new function you would do

function $function_name($var,$var)
$source
end

Can someone send me a source or a link where i can get one? and i would appreciate it if it was like small source or basic with like only print and variables, i don't wanna just straight up skid i wanna learn hopefully i can learn from this. Thanks

You are viewing a single comment. View All
1
theangryepicbanana (663)

@jonathan111971 here is a parser combinator tool for python that you may find helpful for making your lexer: https://pypi.org/project/parsita/.