One StartScope multiple EndScope/Share Tokens between states

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by David Chang - Software Engineer, a.i. solutions, Inc.
Avatar
Hi I am trying to create a child state where there is one StartScope but many EndScope. How do I go about doing this.

Also, is there a way to share token between states?

Comments (2)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi David,

I don't think dynamic languages would support a single start scope pattern with multiple end scope patterns. However if your lexical parser is a programmatic one (like the Simple language sample), you certainly could accomplish that.

There is no way to share pattern groups between lexical states now however that is something we're looking at possibly doing as we develop our next major version of the parsing framework.


Actipro Software Support

Posted 15 years ago by David Chang - Software Engineer, a.i. solutions, Inc.
Avatar
Hi,

Thanks for the reply.

I look forward to the shared token feature. As this will reduce redundant code.

I am attempting to resolved my problem with the one start scope multiple end scope issue in Dynamic language by make the start scope more stringent.
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.