Let's say that i wanted to create a simple web programming language using C++, that has the extension of *.web

and I open Note Pad (let's suppose the language i created somehow can work on note pad like html), and write this command (which was a built-in type in my language) to out put a text:

Code:
text("Hellow world")!

what does it take to do this ??? does it have to be pure C++ ?? is it gonna be pain in the butt ?