C/C++表达式解析(可用于脚本解析功能实现)
Asimplecommandlinecalculatorthatusesarecursivedescentparser,writteninC.Madeasanexerciseintokenizingandparsing...##SupportedfeaturesBelowistheBNFoftheparser.ThefunctionsarenamedandbehavethesameasthosefoundinC64BASIC.expression=["+"|"-"]term{("+"
下载地址
用户评论
可以借鉴大概算法
可以参考,不是很全!
是用c写的,运行环境好像是linux?(看文件夹中的截图判断的)程序无任何注释,小白表示看不懂。然后又不能直接放在vs里运行……略郁闷 总体看着很高大上