フィルターのクリア

Parser Generator for Matlab

3 ビュー (過去 30 日間)
Thomas Hermann
Thomas Hermann 2015 年 6 月 14 日
コメント済み: Thomas Hermann 2015 年 7 月 2 日
Is there a parser generator for Matlab? I'm interested in something with a META or PEG like grammar, but at this point am willing to learn a new grammar if necessary. The generator does not have to be implemented in Matlab, but it must generate the parser for Matlab. Ideally, the generator would be implemented in Matlab and allow grammar to be mixed with Matlab code.
I'm most familiar with META-SEXP, so it's a bonus if there is something equivalent in Matlab.
Thanks,
Tom H.
  3 件のコメント
Thomas Hermann
Thomas Hermann 2015 年 7 月 2 日
Thanks for the response, sorry for the late reply, got side-tracked from this project.
I'm looking for the second use. Given a grammar, the tool should be able to generate MATLAB code that parses the grammar. Ideally, the tool would also be implemented in MATLAB, but that is not a requirement.
I don't have a strong enough background in computer science to know exactly what order of grammar is required. I'm proficient with an LL(1) grammar, META, implemented in Common Lisp. That order of grammar has been applicable to all of my previous use cases. I'm sure it would work in this case as well.
Thomas Hermann
Thomas Hermann 2015 年 7 月 2 日
P.S. It is also useful to be able to inter-mix grammar and code. So, that probably requires implementation in MATLAB.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeString Parsing についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by