Home |
Search |
Today's Posts |
#21
![]() |
|||
|
|||
![]()
Hi Richard,
I am really not happy with old stuff like NEC-Cards. And I do not want do a lot of work. But a minimum of command set must be interpreted. For the translation of primitive objects (#SP3, #SP4, #Horn, #Box, #Tube, #Pipe, #SPArc), I am only using simple CM, CE, GW, SP, SC and GM cards. For symbols (variables) I am using only the extension SY of 4nec2. Any other cards, that can not be detected from the parser, they are simply passed through without changing. Of course, some comment line transformation must also be done. Thats all. Complex data type structures would explode the amount of work. I want to keep the pre-processor as simple as possible. The pre-processor is a NEC-processor and not a compiler. However, there are some good ideas built in: - fully symbolic (SY abc=..) NEC-code generation or hard wired (calculated) NEC-code - SP3 (triangle), SP4 (quadrilateral) can be divided into more small peaces (segmentation) - easy to use primitive objects - complex (hierarchical) object transformation (move, rotation, scaling does not work due to NEC limitation) - surface-patch or wire-mode support, without changing the model - hotspots, where parts of structures or locations can be masked out (-----!) - generator modules (parabolic reflector, helix, etc.) - program control commands - programable antenna models Again, I am not re-inventing C. I am only using the syntax whenever possible. That is the difference. Now, many old neglected deposits from the pre-processor must be redesigned and improved. I am doing this step by step. Of course, a good BNF notation and implementation would simplfy many things. I will do this for the future version may be. Regards, Aziz |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
FA: 1-Day-Left: 3 Books: MICROPROCESSORS, ASSEMBLY LANGUAGE Programming, 8080, Z-80, Etc. | Equipment | |||
PicBasic Pro Compiler Ver 2.43 | Homebrew | |||
PicBasic Pro Compiler Ver 2.43 | Homebrew |