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)

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
theangryepicbanana (1635)

@jonathan111971 that isn't really something to joke about (and I didn't find it funny anyways). regarding the original question, no, there are no pre-made lexers for your language. you have to make them yourself, but tools such as parser combinators make it pretty easy.