History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-3467
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Keith Lea
Votes: 1
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Allow Language plug-in to pass processed text to chameleon nodes for embedded language constructs

Created: 08 Aug 05 04:25   Updated: 08 Aug 05 20:51
Component/s: Plugin Support. API
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 3,436
Severity: Medium


 Description  « Hide
I'd like to be able to modify the text passed to the parser for embedded Java code, to handle a character escaping system for my custom language. Specifically, it would be great to be able to pass a series of tokens to a single parser, and possibly convert those tokens to different textual representations in the middle. That way, my parser could parse through the string, and pass the tokens to the Java chameleon, and convert things like \n to real newlines before passing them to the chameleon.

I think this is a lot to ask for, but I think it will help other languages, not just my own. For example, Javascript could remove that CDATA hack in the lexer. Also, it could handle XML entities like &nbsp as the browser will handle them - this would be incredible because I don't think any HTML editor currently handles these correctly.



 All   Comments   Work Log   Change History      Sort Order:
Keith Lea - 08 Aug 05 19:41
This might also allow for implementation of plug-in for preprocessed languages like C/C++/ObjC.

Keith Lea - 08 Aug 05 20:51
This would also allow for elegant fix of IDEABKL-3084