|
Re: Add a Language Tutorial [message #1763432 is a reply to message #1761114] |
Tue, 16 May 2017 05:40 |
|
It looks like IdocScript has more in common with server-side templating languages, like PHP specifically, than HTML with client-side scripting that's allowed in very specific locations. I don't really know the internals of PHP's implementation. There's no formal tutorial, per se, because formally supporting other server-side languages was never a committed goal.
One could start by modifying the JSPTokenizer (its specification is in the sse.core bundle within the git repository http://git.eclipse.org/c/sourceediting/webtools.sourceediting.git as bundles/org.eclipse.wst.sse.core/DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.jflex) to allow for things that look like XML processing instructions at more locations, or setting up a another kind of server-side script opener to go along with, or in place of, JSP's '%'. Then its a matter of making the partitioner smarter and seeing how much can be tied in using new partition types.
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.02756 seconds