How do I make an "user-defined language"?
-
I am wondering how to make a user-defined language?
I want to make a language named GML and I don’t know how to make this language.It is going to be like Python. Simple and easy to use.
I just need help knowing the contents for a programming language.Please help me…
I want to make it before Easter so I can spend Easter like normal. -
I am wondering how to make a user-defined language?
To define a User Defined Language for syntax highlighting, you start by opening the UDL dialog using
Language > User Defined Language > Define Your Language. Create New… and give it a name (GML). Fill out the keywords, comments, operators & delimiters, etc. Putgmlin the Ext box, assuming that GML filenames end in.gmlI just need help knowing the contents for a programming language.
The “contents for a programming language”, from the UDL perspective, are the keywords, operator symbols, and the like, that are defined by the language you are making the UDL for. I assume that GML has keywords like
ifandfor, so those would go in an appropriate Group on the Keywords Lists tab. I assume that GML has operators like + and -: these would go in the appropriate boxes on the Operators & Delimiters page.For details on what all those different boxes mean, and what syntax to use, look at the official online user manual’s UDL page for the overview, and Ivan Radic’s excellent detailed description at his website, which is so complete that it is linked from inside the UDL dialog box or the UDL docked panel inside Notepad++.
-
Ok, thanks.
This helped me.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login