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;

How to build and add a custom programming language

Postby reneuend » Wed Feb 26, 2020 1:00 pm

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!
reneuend
 
Posts: 22
Joined: Sat Jan 30, 2010 9:47 pm

Re: How to build and add a custom programming language

Postby jiskel » Mon Jun 29, 2020 5:10 am

I too have same question.
https://www.flyingtogether.me/
jiskel
 
Posts: 1
Joined: Mon Jun 29, 2020 5:03 am

Re: How to build and add a custom programming language

Postby pmk65 » Mon Jul 27, 2020 1:21 pm

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: viewtopic.php?f=4&t=3644&p=13324&hilit=Token+state#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 viewforum.php?f=33
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 668
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron