|
|
|
Re: Abstract syntax tree of ttcn [message #1854202 is a reply to message #1851410] |
Sat, 06 August 2022 08:26 |
Matthias Simon Messages: 6 Registered: February 2021 |
Junior Member |
|
|
I recently wrote a generic ttcn3 code generator, which does no checks, yet. There is no documentation, because it's still an experiment. But we use it at Nokia and you can use it to convert types, too.
If you are interested you need to install Go and then install the ttcn3 tool:
go install github.com/nokia/ntt@latest
Per default it dumps the AST to stdout. But you can specify your own tools to receive the tree via stdin. For example create an executable python script named ntt-gen-foobar in a reachable location.
When you call "ntt compile -G foobar" your python script will automatically get started.
[Updated on: Sun, 11 September 2022 08:46] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04613 seconds