Solved

where do i start if I want to create my own scripting language using a texteditor similar to the one in vba or vb.net where you typ a few letters and then a dot and new letters pop up

Posted on 2015-02-02
4
92 Views
Last Modified: 2015-02-21
i want to build my own library of terms or perhaps I should say a library of objects that include methods and properties. what type of editor can I use to input a list of such objects and members that will generate auto complete for me
0
Comment
Question by:Dov_B
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 25

Expert Comment

by:SStory
ID: 40584686
It depends upon what language you want to write it in. Notepad++ uses Scintilla for example.
It also depends upon licensing model. If GPL then you could get some already written code and modify it and save a lot of work.  If non-GPL, there maybe some freebies to allow you extend (be sure to know the license and legal issues).

As to popping up, it depends upon how complex you want to make it. If fixed, then you could do multithreading where one thread is always seeing what is typed and getting the appropriate properties, etc.. Of you could do a lookup after every period, keeping up with what was typed from the beginning or after the last space and submitting that to something that see what object was used and either reflexively gets the properties from it or somehow returns a list. Then you show a popup combobox or whatever control if you are using a language where you can use controls, or you do a lot of code to draw your own, etc.

You have asked a very vague question and it will be hard to answer without more details.
0
 

Author Comment

by:Dov_B
ID: 40592767
Sorry for delayed response and thanks for your time.
I am creating my own simple scripting language for personal use not to be shared. I would like it to have intellisence and auto complete finding very difficult to to find instructions for notepad++ perhaps you can direct me to a working link many of them appeared to have expired
0
 
LVL 25

Accepted Solution

by:
SStory earned 500 total points
ID: 40593570
Here is the latest download of the software:
http://notepad-plus-plus.org/download/v6.7.4.html

It is an editor. I was just mentioning that it uses scintilla
http://www.scintilla.org/ to save time on building a text editor.

As to how to use notepad++ I just downloaded and used the online help. I'm not sure that it will pop up and auto complete. I was just mentioning the free codebase that it used to make the editor. It sounded like you wanted to write an editor.  Do you want to write a language? Write an editor? Or write a language and have an editor inspect the objects and auto complete?
0
 
LVL 25

Expert Comment

by:SStory
ID: 40593577
Here is a plugin for notepad++ that does do autocomplete for php classes, so it is obviously possible to do.
http://sourceforge.net/projects/accpc/
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question