# cyclocalc **Repository Path**: cycloctane/cyclocalc ## Basic Information - **Project Name**: cyclocalc - **Description**: Pratt Parsing实现的简单数学表达式计算器。使用C99编写。 - **Primary Language**: C - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-01 - **Last Updated**: 2025-08-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: C语言 ## README ## cyclocalc Simple mathematical expression evaluator based on Pratt Parsing. Supported operators: - Arithmetic: `+ - * / %` - Bitwise: `| & ^ << >>` - Parentheses: `( )` ### build ```bash make cyclocalc ``` ### usage ```bash ./cyclocalc "6 * (3 + 4)" ``` repl: ``` $ ./cyclocalc (calc)> 6 * (3 + 4) 42 (calc)> ```