How to build and add a custom programming language

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
reneuend
Posts: 26
Joined: Sat Jan 30, 2010 9:47 pm

How to build and add a custom programming language

Post by reneuend »

I would like to build and add a custom programming language (for Unibasic(Unidata DB)).
Is there a way to do this in Webuilder? VBS comes the closest, but there are KeyWords and nuances that are different. Example: Unibasic uses an asterisk (*) not a single-quote (') for comments.

Thanks for any suggestions!
jiskel
Posts: 1
Joined: Mon Jun 29, 2020 5:03 am

Re: How to build and add a custom programming language

Post by jiskel »

I too have same question.
https://www.flyingtogether.me/
User avatar
pmk65
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: How to build and add a custom programming language

Post by pmk65 »

reneuend wrote:I would like to build and add a custom programming language (for Unibasic(Unidata DB)).
Is there a way to do this in Webuilder? VBS comes the closest, but there are KeyWords and nuances that are different. Example: Unibasic uses an asterisk (*) not a single-quote (') for comments.

Thanks for any suggestions!
It is possible, but unfortunately the definition files are in a format that isn't exactly user-friendly.
There's some documentation found here: http://help.blumentals.net/webuilder/cu ... rs_doc.htm
And an old thread here: http://forums.blumentals.net/viewtopic. ... ate#p13324

Take a look in the folder "C:\Program Files (x86)\WeBuilder 2020\data\parsers" (Or other location where you have installed Webuilder)
Then open the file "vbsparser.dat" in WeBuilder (Might want to make a copy of it if you are going to modify it)

If you success in making a new parser, please share it at http://forums.blumentals.net/viewforum.php?f=33
There are 10 types of people in the world: Those who understand binary and those who don't.
Post Reply