Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - lex docs?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

lex docs?

 Post Reply Post Reply
Author
Message
esc67 View Drop Down
Newbie
Newbie


Joined: 09 June 2005
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote esc67 Quote  Post ReplyReply Direct Link To This Post Topic: lex docs?
    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"?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
esc67 View Drop Down
Newbie
Newbie


Joined: 09 June 2005
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote esc67 Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2007 at 12:18am
Thanks, that helps.  Are there complete docs somewhere???
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2007 at 3:03am

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

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jrodd View Drop Down
Newbie
Newbie


Joined: 07 March 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote jrodd Quote  Post ReplyReply Direct Link To This Post 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,

Back to Top
bob23 View Drop Down
Newbie
Newbie


Joined: 08 May 2007
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote bob23 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mtwombley View Drop Down
Newbie
Newbie
Avatar

Joined: 15 March 2011
Location: Canada
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtwombley Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2011 at 10:29am
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.