View Single Post
  #10   Report Post  
Old June 16th 07, 01:54 AM posted to rec.radio.amateur.antenna
[email protected] oeguet@gmx.de is offline
external usenet poster
 
First recorded activity by RadioBanter: Jun 2007
Posts: 22
Default Antenna programming tool/language/compiler/preprocessor?

On 16 Jun., 02:14, Richard Clark wrote:
On Fri, 15 Jun 2007 16:11:24 -0700, wrote:

fromI am searching for an antenna programming tool/compiler/preprocessor/
language.

to
Especially for old "C"-programmers like me.


suggests defining your language using BNF and building the compiler
with YACC. Anyway, how I've done similar projects for 30 years. You
could gussy it up with Prolog, but who wants to go down that path (at
least if you want it distributable)?

73's
Richard Clark, KB7QHC


Due to the similarity to 4nec2 and nec2 format, I implemented a very
simple line based parser. Of course, it looks like C, but the pre-
processer has limitations. It is kept left simple except the
expression parser for calculation (fully c compatible). I started with
very simple one and the implementation growed up till now. It is not
finished yet - a big mile stone for documentation must be realized.
Also testing is not finished. And I found new bugs, when I implemented
a regression test model. But it is a good time now, to implement some
usefull features or ideas.

Regard,
Aziz