Print Page | Close Window

lex docs?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=6345
Printed Date: 21 November 2024 at 11:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: lex docs?
Posted By: esc67
Subject: lex docs?
Date Posted: 07 February 2007 at 7:06pm
 
Is there any more documentation on the Lex syntax hidden somewhere (besides the summary at the top of each schclass file)?
 
For example, what is the difference between "parent" and "parent:dyn"?



Replies:
Posted By: sserge
Date Posted: 08 February 2007 at 6:18am

---        parent   -- Property (required)                                            
parent
    Defines a direct parent of lex class. (parent class name)

parent:dyn   
    Defines a dynamic parent of lex class. (parent class name)
    Dynamic means that parent class can be not only direct parent,
    but parent of its parent [of parent ...] until the top class/block.

parent:file
    Defines a top schema class. (as file extensions list <*.ext1|*.ext2>)

Only one of mentioned above 'parent' properties can be used for each class.

EXAMPLE:
    parent:file = <*.c|*.cpp|*.h|*.inl|*.tli|*.tlh|*.rc|*.rc2>   
    parent        = c_CPP
    parent:dyn    = c_CPP


--
WBR,
Serge


Posted By: esc67
Date Posted: 09 February 2007 at 12:18am
Thanks, that helps.  Are there complete docs somewhere???


Posted By: sserge
Date Posted: 10 February 2007 at 3:16pm
Yes, they are

Hope for the next version they will be available in scope of regular Help files...

--
WBR,
Serge


Posted By: Tomasz
Date Posted: 24 February 2007 at 3:03am

so ... when can we expect next version ? (days, weeks or....?)



Posted By: sserge
Date Posted: 26 February 2007 at 4:18pm
A few weeks. But feel free to ask any additional questions on Lex syntax. I can show some more pieces of docs.

--
WBR,
Serge


Posted By: jrodd
Date Posted: 07 March 2007 at 1:35pm
Is there any way to specify the starting column for a lexicon entry?  IE, an '*' in a specific place denotes a comment?

Thanks,



Posted By: bob23
Date Posted: 08 May 2007 at 6:40pm
I am new to lex and I would like some pointers where I can rapidly get up to speed. The latest version 11.0 has a dead link to specific lex documentation.

Thanks


Posted By: sserge
Date Posted: 12 May 2007 at 8:08am
Originally posted by jrodd jrodd wrote:

Is there any way to specify the starting column for a lexicon entry?  IE, an '*' in a specific place denotes a comment?

Thanks,



Yes, take a look at some examples. For example, for INI files comment is started with ";" and it is coded as:

lexClass:
        name            = c_INIRemark
        parent          = c_INI
        start:Tag       = ';'
        end:Tag         = @eol
        txt:colorFG     = 0x008200


--
WBR,
Serge


Posted By: mtwombley
Date Posted: 15 March 2011 at 6:55pm
So I'm working with Version 15.02 now.  Are there any Doc's for the Lex yet?


Posted By: SuperMario
Date Posted: 13 April 2011 at 10:29am
http://forum.codejock.com/forum_posts.asp?TID=18102&title=syntax-edit-lex-schema-help - http://forum.codejock.com/forum_posts.asp?TID=18102&title=syntax-edit-lex-schema-help



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net