SPDH 的词法分析器

发布于 2024-07-14 00:41:36 字数 123 浏览 4 评论 0 原文

我需要一些帮助来为协议 spdh 编写词法分析器。 请您给我一些想法:我必须从哪里开始编写此类协议的语法?!

Spdh定义了电子支付终端和银行服务器之间交换的请求和响应消息的结构。

谢谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

那小子欠揍 2024-07-21 00:41:37

我从来没有写过编译器。这是我第一次体验这样的程序! 我可能会使用 javacc。我不知道递归下降,我还没有决定,因为我仍在阅读编译器理论。
那么编写分析器时我需要重点关注哪些部分呢?

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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文