I've been TRYING to learn C++, but with it being so hard just to make a simple hello, world! program in it I can just think how much harder it could get in C++ so I want to know how to make my own programming language.
Simple Hello, World! program in C++:
#include<iostream> using namespace std; int main() { cout << "Hello World!" << end1; return 0; }
My programming language idea Hello, World program:
startscript{ new(application){ print("Hello World!"); } }
This is the complicated version of that in my language:
include gui_program; startscript{ new(application){ button(text && Print Text; color && default; gravity && center); action(print("Hello World!")); } }
Which one is easier for you to understand? It wouldn't be C++ for me so I want to know how to make a programming language, but how?
Edited by Kivitoe, 12 October 2015 - 08:45 PM.