首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 一个用C++编写的小的递归下降分析器

一个用C++编写的小的递归下降分析器

资 源 简 介

CalcSheet is a a small recursive descent parser of an arithmetic grammar written in C++ by Seifeddine Dridi as an attempt to learn the fundamentals of parsing. As of now, it is capable of calculating any arithmetic expression (addition, substraction, division and multiplication). It is still in very early stage of developement, so it might contain bugs or presents malfunction, however I tried my best to keep the code clean and minimal as well as implementing a flexible framework that allows future extensions. Features: * Parsing and evaluation of almost any arithmetic expression * Predefined mathematical functions (cos, sin, exp, tg, sqrt) for ease of use * Plotting of functions with the predefined plot function * Variable support

文 件 列 表

CalcSheet+Qt - v0.2
ast_builder.h
CalcSheet - Rapport.docx
CalcSheet+Qt.pro
CalcSheet+Qt.pro.user
Conception
debug
glwidget.cpp
glwidget.h
main.cpp
mainwindow.cpp
mainwindow.h
mainwindow.ui
Makefile
Makefile.Debug
Makefile.Release
predefined_functions.h
release
syntax_tree.cpp
syntax_tree.h
ui_mainwindow.h
CalcSheet+Qt-build-desktop
debug
Makefile
Makefile.Debug
Makefile.Release
release
ui_mainwindow.h
VIP VIP
0.186027s