Como se crea un lenguaje de programacion?
Posted by NoTomorrow3087@reddit | learnprogramming | View on Reddit | 14 comments
Buenas, soy un joven español, estoy buscando como crear un lenguaje de programacion estilo python y eso, no se si es posible o asi
themagicalfire@reddit
Write a compiler that converts your code to Assembly
Striking_Display8886@reddit
Curiosity is THE most important thing here and the reason I’m encouraging you to keep asking questions like these, they will get you far!
Try this course first (cs50-Harvard) - it’s free!
https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science?gclsrc=aw.ds&&utm_source=google&utm_campaign=19322989673&utm_medium=cpc&utm_term=cs50&gad_source=1&gad_campaignid=19322989673&gclid=EAIaIQobChMIorO77fPrkwMVHoDCCB2saiLKEAAYASAAEgIfCvD_BwE
After knocking that out (including hw), come back and ask this.
NoTomorrow3087@reddit (OP)
Vale muchas gracias!! Cuando tenga tiempo libre lo hare!
Striking_Display8886@reddit
Bien
idiotiesystemique@reddit
La bonne question est "pourquoi"
NoTomorrow3087@reddit (OP)
La verdad quiero por una vez sentirme relativamente importante y poder decir que cree un lenguaje de programacion, es como un sueño/meta para mi, es como preguntar "¿por qué estudiar tal cosa?", alfinal es algo que me encantaria lograr
johnpeters42@reddit
Of course it's possible, because someone did it already. Whether it's possible for you depends whether you're able and willing to learn.
This sort of thing has been heavily bootstrapped over the years. Way back in the day, someone needed to build the very first tools by literally moving wires around on a primitive circuitboard, or typing in code that more or less directly corresponded to CPU instructions. These days, a high-level language is probably written and built using another high-level language, or maybe an older version of the same high-level language.
NoTomorrow3087@reddit (OP)
Vale, gracias por la info!
Hybrii-D@reddit
Biblioteca
NoTomorrow3087@reddit (OP)
Gracias!
DirtAndGrass@reddit
This is nothing Google can't answer, but roughly - need to define what it is for, and if it follows a programming concept, like functional, proceedural, what the syntax will look like - once you have determined the platform, you need to create a lexer and parser to deal with the input (assumedly text files) - once you have your tokens, you need to create a mechanism to ingest them and prepare them for the processor (which may be the CPU, or another runtime, like Python)
NoTomorrow3087@reddit (OP)
Gracias de verdad!!
AMajoris@reddit
Sabes programar?
NoTomorrow3087@reddit (OP)
Poco, HTML basico, es un proyecto que tengo en mente para un futuro lejano pero quiero ir informandome de como va la cosa