Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!willett!GEnie From: GEnie@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: LANGUAGE OF ANS FORTH Message-ID: <29.UUL1.3#5129@willett.UUCP> Date: 19 Dec 89 04:19:08 GMT Organization: None that I can detect Lines: 39 Date: 12-17-89 (09:38) Number: 328 To: JERRY SHIFRIN Refer#: 326 From: IAN GREEN Read: NO Subj: LANGUAGE OF ANS FORTH Status: PUBLIC MESSAGE Yes that is the idea I was looking for. That and examples of code relative to the syntax charts. >Actually, for reasons which are beyond me, CH Ting did do a BNF >for Forth. You can find it in his FORTH Notebook from Offete >Enterprises or in the 2/82 issue of Dr. Dobb's. As near as I can >tell, the BNF description of Forth should be something like: ::= ( ... ) ::= { [ ...]} If you or someone has the complete BNF syntax for Forth (I am currently playing with L&Ps F83.COM). This I feel would go a long way towards clarifying the way the language works. To be more in keeping with EBNF I would suspect that that Forth would be defined something like: Program := { Word } Word := ":" Identifier { Word | Number } ";" : : : : The problem is though I can write the syntax for a familiar language fairly easily Forth is not so easily figured out. Thanks, Ian Green NET/Mail : British Columbia Forth Board - Burnaby BC - (604)434-5886 ------------ ----- This message came from GEnie via willett through a semi-automated program. Report problems to: 'uunet!willett!dwp' or 'willett!dwp@gateway.sei.cmu.edu'