Can I embed the "concept editor" within a Swing application to replace a Swing edit control?

We have a scripting language defined over 30 years ago. In our Swing application we have a window with a swing edit control to allow the user to enter script commands. Afterwards the full text they typed in is sent to a backend server which parses it and returns data. The problem is the swing editor doesn't do any syntax highlighting or formatting. We would like to define our language using MPS and incorporated the concept editor within our application so the user would have a nice editor to enter our scripting language into. Can this be done?
0
8 comments
This is a use-case that we would like to cover with a projectional web-based editor that we're working on for one of the upcoming releases. You can get a taste of the current state by coding and playing with the demo at http://jb-proj-demo.appspot.com/

Vaclav
0
Avatar
Permanently deleted user
Thanks but we need it integrated in our stand alone app (most likely the largest swing app around, we'll over 600 or 700 dialogs) where an editor has been for 25 years. I didn't want to custom write an editor that would do syntax highlighting and indenting when one all ready existed.

Sent from my iPhone
0
OK, sorry I misunderstood.
MPS supports creation standalone IDEs around a selected set of languages, but integrating a projectional editor (including all the requested infrastructure) inside custom made apps is unfortunately not supported.
0
Avatar
Permanently deleted user
Thanks

Sent from my iPhone
0
Hello, Vaclav. Excuse me for this off-topic )
I haven't seen MPS3 in action much as I thought it was a bit raw (but that was the first public release), and after your previous post I was really surprised because I didn't even thought that you are already working on a web interface. Is there any public repository available for this version of MPS?
0
Hi Askar,

this is still work-in-progress and there's not much you can put your hands on currently beyond the demo page I referred to earlier.

Vaclav
0
Ok, I see. Is this one a proof of concept project? I will be waiting for opening source to public very much.
0
Yes the demo is just to whet your appetite :) The real stuff is still being worked on.
0

Please sign in to leave a comment.