From: utzoo!decvax!decwrl!sun!megatest!fortune!hpda!hplabs!sri-unix!Jeffrey@office-6 Newsgroups: net.micro.cpm Title: Language Translator query Article-I.D.: sri-arpa.1177 Posted: Sat Apr 30 16:52:00 1983 Received: Mon May 2 05:55:52 1983 I need some help putting together a quick and dirty translator for a basic-like application language (custom language). The langauge will have commands similar to those of Basic including GOTO xxx where xxx is a label on one of the commands in the "program" being translated. Most of the other commands are straight forward sorts which begin with a command name and may have some arguments separated by commas: COMMAND-NAME arg1, arg2, ... where most of the arguments are numeric, symbolic, or selector (e.g. YES | NO) type things. Some fo the arguments will be multiline text literals. What I am looking for is any code that I could hack into a reasonable translator for this language. By the way, the output of the translator will be an intermediate form representation of the input suitable for interpretation by a runtime package. I am hoping to write the translator in C (BDS or Lattice) but would go with some other language if I found a very nice box of code to hackup. All suggestions will be aprreciated. Please send them directly to me (jeffrey@office). thanks very much, Jeffrey Stone Menlo Park, Ca. -------