Hello Sylvain,

This is not a joke at all. The SIP protocol is (like all network protocols)
based on a "formal grammar", which is described in an IETF RFC here:
https://www.ietf.org/rfc/rfc3261.txt
I would suggest you read this RFC from start to end and possibly some
related materials: http://en.wikipedia.org/wiki/Formal_grammar

Writing a protocol parser is not as simple as it seems, and ANTLR is a tool
that eased the work tremendously (on top of making it reliable and
testable).
Also, Java is required for COMPILATION, and not for RUNTIME (you'll see
that installing belle-sip from your favorite package manager in linux
doesn't pull the entire Java runtime).

There are plenty of other alternatives to ANTLR, some of them not even in
interpreted languages:
http://en.wikipedia.org/wiki/Comparison_of_parser_generators
Finally, let me remind you that bellesip and linphone are open source
projects, and if you want to keep your computer Java-free, feel free to
propose a patch removing the Java dependency.

Cheers,

*Guillaume BIENKOWSKI*

*http://www.belledonne-communications.com/
<http://www.belledonne-communications.com/>*

*sip:[email protected] <sip%[email protected]>*

On Tue, Sep 16, 2014 at 11:36 AM, Sylvain BERTRAND <
[email protected]> wrote:

>
> Is that a joke? You need to install java and java software to
> compile a linphone stack?? Please remove all non-C components
> from your SDK (at least for the C/GTK+ client SDK).
>
> SIP grammar?? What is happening to this protocol?? It's supposed
> to be minimal and simple.
>
_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to