views:

233

answers:

1

I need some help to write a lexical analyzer for the protocole spdh. Please can you give me some ideas: from where I have to begin to write the grammar of such protocol?!

Spdh defines the structure of request and response messages exchanged between an electronic payment terminal and the server of the bank.

Thank you

A: 

I haven't ever write a compiler.this is my first experience with such programs! I may use javacc.I don't know for the recursive descent I didn't decide yet becauz I'm still reading about compiler theory. So what parts I ve to focus in to write my analyzer?