Symple
No description available
Install / Use
/learn @blynn/SympleREADME
= Symple = Ben Lynn blynn@cs.stanford.edu 2013
== Symple ==
After reading http://www.math.upenn.edu/~wilf/AeqB.html["A = B" by Marko Petkovsek, Herbert Wilf and Doron Zeilberger], I was inspired to experiment with symbolic computation.
I'm uploading this project in its current state because it took some effort to write a basic parser. Even if I proceed no further, at least I'll have a complete example of a re-entrant Flex/Bison parser.
The 'main' program reads an expression from standard input or from the first command-line argument if present, and pretty-prints it:
$ ./main 'sin(x)cos(y) + e^x; 12+3/4' +((sin(x), cos(y)), ^(e, x)) +─┬──┬─sin───x │ └─cos───y └─^─┬─e └─x +((1, 2), /(3, 4)) +─┬──┬─1 │ └─2 └─/─┬─3 └─4
== License ==
See COPYING for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
