One StartScope multiple EndScope/Share Tokens between states

Posted 9 years ago by Avatar David Chang - Software Engineer, a.i. solutions, Inc.
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 9 years ago by Actipro Software Support - Cleveland, OH, USA
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 9 years ago by David Chang - Software Engineer, a.i. solutions, Inc.

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.
Information The latest build of this product (2016.1 build 0330) was released 2 years ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.