Subject: SDL-News: Re: SDL in BNF - reg
From: Rick Reed TSE (rickreed#tseng.co.uk)
Date: Mon Oct 15 2001 - 22:55:37 GMT
Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From Rick Reed TSE <rickreed#tseng.co.uk> to sdlnews -----
Elangovan Angannan at sdlelango#yahoo.com wrote on 14/10/2001 13:49:
> Dear Rick Reed,
> Is there any SDL grammar in BNF format? If yes, could
> you please provide me the link to it.
> It will be very useful for my project.
> Thanks a lot Rick,
> Kind Regards
The BNF grammar is embedded in the SDL-2000 Word document.
The following VBA script will extract the syntax from the standard:
' extractsyntax Macro
' Macro 15/10/01 by Rick Reed
Dim para As Paragraph
Dim StyleName As String
For Each para In ActiveDocument.Paragraphs
StyleName = para.Style.NameLocal
If Not (StyleName = "z100 syntax" _
Or StyleName = "z100 syntax last line" _
Or StyleName = "z100 syntax 1st line") _
-- Rick Reed - rickreed#tseng.co.uk Tel:+44 1455 55 96 55 Fax:+44 1455 55 96 58 Mob.:+44 7970 50 96 50
--End text from Rick Reed TSE <rickreed#tseng.co.uk> to sdlnews --- For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>
This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT