用于Mathematica语法的解析器? [英] Parser for the Mathematica syntax?

查看:99
本文介绍了用于Mathematica语法的解析器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在C#中使用一个内置的解析器来解析mathematica表达式吗?

Is there a built parser that I can use from C# that can parse mathematica expressions?

我知道我可以使用内核本身来解析表达式,并使用.NET/Link来检索树结构...但是我正在寻找不依赖内核的东西.

I know that I can use the Kernel itself to parse an expression, and use .NET/Link to retrieve the tree structure... But I'm looking for something that doesnt rely on the Kernel.

推荐答案

我的 matheclipse-parser模块在Java中实现了一个解析器,该解析器可以解析mathematica表达式的很大一部分.有关用法,请参见readme.md页面.也许您可以将解析器移植到C#?

My matheclipse-parser module implements a parser in Java which can parse a big subset of mathematica expressions. See the readme.md page for usage. Maybe you can port the parser to C#?

这篇关于用于Mathematica语法的解析器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆