Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Error Compiling TTCN-3 Script(@deterministic and a receive syntax not supported)
Error Compiling TTCN-3 Script [message #1720045] Thu, 14 January 2016 05:21 Go to next message
murli sharma is currently offline murli sharmaFriend
Messages: 85
Registered: November 2015
Member
Hi,

I'm Trying to compile a TTCN-3 script but getting error.
The constructs for which error is being generated seems to be valid TTCN-3 Syntax.
I'm attaching the script and the build log.
Please help.

Thanks
Murli
  • Attachment: TTCN3.zip
    (Size: 207.93KB, Downloaded 161 times)
  • Attachment: make.log
    (Size: 4.22KB, Downloaded 139 times)

[Updated on: Thu, 14 January 2016 06:27]

Report message to a moderator

Re: Error Compiling TTCN-3 Script [message #1720058 is a reply to message #1720045] Thu, 14 January 2016 07:37 Go to previous messageGo to next message
roland gecse is currently offline roland gecseFriend
Messages: 20
Registered: December 2015
Junior Member
Hi Murli,

The attached make.log shows your input file RLC_r3_wk37.ttcn does in fact include syntactical errors. Find first "error" string in "make.log", open the referenced file, go to indicated line number and you find what is wrong with the input. The error message given by the parser attempt to provide hints.

In this particular case, the first error is:

RLC_r3_wk37.ttcn:4186.23: error: Character `@' (0x40) is not used in TTCN-3

The referred line looks like:

external function @deterministic o_HexToDigitsMCC(hexstring p_BCDdigits) return MCC;

In my understanding the symbol @ is invalid to use in TTCN-3 identifiers. It appears that your TTCN2 to TTCN-3 converter includes the @deterministic tag for some reason. I believe TITAN does not understand this.

In fact I am not sure if the @deterministic tag conforms to TTCN-3 standard or if it is valid in this context.

R
Re: Error Compiling TTCN-3 Script [message #1720061 is a reply to message #1720045] Thu, 14 January 2016 08:16 Go to previous messageGo to next message
Gábor Szalai is currently offline Gábor SzalaiFriend
Messages: 133
Registered: December 2015
Senior Member
You are right, they are valid TTCN-3 construct according to the latest version of the standard, but not yet supported by the TITAN

Re: Error Compiling TTCN-3 Script [message #1720062 is a reply to message #1720061] Thu, 14 January 2016 08:22 Go to previous messageGo to next message
murli sharma is currently offline murli sharmaFriend
Messages: 85
Registered: November 2015
Member
Oh.. So any plans to support these new constructs in near future?
Re: Error Compiling TTCN-3 Script [message #1720068 is a reply to message #1720062] Thu, 14 January 2016 08:46 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Murli,

not in the near future, meaning not in H1 of 2016.


Best regards

Elemer

Re: Error Compiling TTCN-3 Script [message #1720074 is a reply to message #1720068] Thu, 14 January 2016 09:11 Go to previous messageGo to next message
murli sharma is currently offline murli sharmaFriend
Messages: 85
Registered: November 2015
Member
Hi Elemer,

Thanks for the info.
Can you tell me which version of TTCN-3 does Titan supports?

Thanks
Murli
Re: Error Compiling TTCN-3 Script [message #1720090 is a reply to message #1720074] Thu, 14 January 2016 10:37 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Murli,

we are preparing a detailed SoC in response to this question ; there is no unambiguous answer: some elements of 4.6.1 are already supported, but there might be parts of earlier editions which are not;
besides, there's a ton of features on top of the standard.
we have developed Titan based on requests from our internal customers which did not necessarily follow the standard.

In your concrete case, the workarounds are quite straightforward;
the @deterministic can be removed as it has no practical impact;
the reception into a partial variable can be changed to a reception into a full variable.



Best regards

Elemer


Re: Error Compiling TTCN-3 Script [message #1720100 is a reply to message #1720090] Thu, 14 January 2016 11:55 Go to previous messageGo to next message
murli sharma is currently offline murli sharmaFriend
Messages: 85
Registered: November 2015
Member
Hi Elemer,

Thanks for the help.
Re: Error Compiling TTCN-3 Script [message #1720351 is a reply to message #1720100] Mon, 18 January 2016 06:23 Go to previous messageGo to next message
murli sharma is currently offline murli sharmaFriend
Messages: 85
Registered: November 2015
Member
Hi Elemer,

We're trying to procure a TTCN-2 to TTCN-3 converter. So we need to know what TTCN-3 features Titan won't support.
Can we get a comprehensive list of such features? By when can you help us in getting such a list?

Also do you have any tool to convert TTCN-2 to TTCN-3 ?

Thanks
Murli
Re: Error Compiling TTCN-3 Script [message #1720357 is a reply to message #1720351] Mon, 18 January 2016 07:47 Go to previous message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1120
Registered: January 2015
Senior Member
Hi Murli,

we are preparing a detailed SoC (Statement of Compliance ) for part I of the standard.; this should be ready H1 of this year.
As I mentioned earlier, few years ago we have participated in a number of TTCN-2 to TTCN-3 conversion projects, and in our experience there's no fully automated conversion method ( that I know of anyhow);
Automatic conversion will only take you part of the way, and a lot has to be done manually.

We don't have such a tool at present.


Best regards
Elemer


Previous Topic:Example of SNMP over UDP
Next Topic:Encoding TTCN type
Goto Forum:
  


Current Time: Thu Apr 25 20:14:35 GMT 2024

Powered by FUDForum. Page generated in 0.03633 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top