Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!ptsfa!ihnp4!occrsh!occrsh.ATT.COM!gorgo.UUCP!authorplaceholder From: authorplaceholder@gorgo.UUCP.UUCP Newsgroups: comp.sys.ibm.pc Subject: re: DeSmet C -> MicroSoft C Message-ID: <58200028@gorgo.UUCP> Date: Wed, 1-Apr-87 00:38:00 EST Article-I.D.: gorgo.58200028 Posted: Wed Apr 1 00:38:00 1987 Date-Received: Sat, 4-Apr-87 13:47:47 EST Lines: 31 Nf-ID: #N:gorgo.UUCP:58200028:000:1472 Nf-From: gorgo.UUCP!ddrex Mar 31 23:38:00 1987 >Lately, I've come across some public domain C programs written in >DeSmet C. However, I don't have a DeSmet C compiler and I haven't >found any switches in my Microsoft C compiler that will enable it >to recognize the DeSmet C Syntax. (If you're not familiar with this >syntax, it seems to like to do away with { and }. Using a $ for { >and either indentation or blank lines to signal a }. Also appears >to use :: for ||. What else I don't know.) > >Is there any easy way to translate DeSmet C source programs to >the "regular" syntax? Some public domain translator would be nice, >I don't need source (esp. if it's in DeSmet C), just .EXE. What you have doesn't sound like C, and definately isn't DeSmet. The DeSmet compiler is totally K&R, and was a pretty decent one for its time. I use it all the time because it compiles fast and it's handy. Many programs written in it are not compat because the authors chose to make heavy use of its idiosyncracies. A good example of that is the RED editor. DeSmet allows the #asm; you can write lots of assembly code in it without getting near an assembler. There are no standards for functions which do direct screen writes, dos calls, or keyboard reads; programs which use those features likewise are not terribly portable, but then, they wouldn't be for any msdos compiler. Other than those, it's entirely K&R, and I have compiled many programs from net.sources using it. David Drexler ihnp4!occrsh!gorgo!ddrex