没有合适的资源?快使用搜索试试~ 我知道了~
happy-space:对空格敏感的计算器
共110个文件
txt:102个
hs:2个
md:1个
需积分: 5 0 下载量 97 浏览量
2021-05-31
10:41:28
上传
评论
收藏 42KB ZIP 举报
温馨提示
快乐空间 这是一个命令行计算器。 它支持 中缀操作+ , - , * , / , % , ^ 前缀运算符~ (否定)和! (阶乘) 常规运算符优先级 括弧 空格优先 空格优先? 这是正确的! > 3+6/3 5 > 3 + 6/3 5 > 3+6 / 3 3 但: > 1+ 2 "input" (line 1, column 4): unexpected whitespace after `+` > 1 +2 "input" (line 1, column 4): unexpected "2" expecting space after `+` 依赖 高铁 制作 破折号(用于测试) 建造 在 repo 的顶层运行make 。 这将创建bin/hscalc 。 如果您在链接时遇到问题,可以尝试make HSFLAGS=-static 。 如果您有适当的依赖项,您也可以mak
资源推荐
资源详情
资源评论
收起资源包目录
happy-space:对空格敏感的计算器 (110个子文件)
shunting_yard.c 8KB
.gitignore 12B
ShuntingYard.hs 13KB
Main.hs 1KB
LICENSE 34KB
makefile 533B
README.md 1017B
run_tests 1KB
arith5.txt 75B
arith4.txt 55B
arith7.txt 43B
arith6.txt 42B
arith6.txt 38B
arith_nested_parens4.txt 38B
arith2.txt 37B
arith7.txt 34B
arith3.txt 34B
long3.txt 31B
arith_nested_parens3.txt 29B
long2.txt 26B
long.txt 24B
arith_nested_parens5.txt 23B
arith_nested_parens6.txt 23B
long.txt 22B
arith4.txt 21B
whitespace3.txt 20B
arith9.txt 20B
whitespace4.txt 19B
arith6.txt 19B
arith_nested_parens2.txt 19B
whitespace5.txt 18B
arith_nested_parens7.txt 18B
bang3.txt 17B
arith5.txt 17B
arith12.txt 16B
arith_nested_parens9.txt 16B
arith_nested_parens1.txt 15B
arith5.txt 15B
arith9.txt 15B
parens3.txt 15B
arith_nested_parens8.txt 14B
arith3.txt 14B
arith8.txt 14B
whitespace2.txt 13B
arith8.txt 13B
add4.txt 13B
bang2.txt 12B
arith10.txt 12B
arith4.txt 12B
arith11.txt 12B
bang4.txt 11B
negate2.txt 11B
arith7.txt 11B
add3.txt 11B
arith1.txt 11B
missing-term4.txt 11B
bang5.txt 10B
space2.txt 10B
bang7.txt 10B
bang.txt 10B
negate3.txt 10B
whitespace.txt 10B
arith2.txt 10B
parens2.txt 10B
parens.txt 10B
missing-term7.txt 10B
space9.txt 9B
bang8.txt 9B
space5.txt 9B
space4.txt 9B
space3.txt 9B
space7.txt 9B
arith2.txt 9B
arith3.txt 9B
mult2.txt 9B
bad-spaces3.txt 9B
bad-spaces5.txt 9B
bad-parens5.txt 9B
bad-spaces6.txt 9B
bad-spaces4.txt 9B
bang6.txt 8B
space6.txt 8B
arith1.txt 8B
arith1.txt 8B
add2.txt 8B
space.txt 7B
space8.txt 7B
bad-parens4.txt 7B
negate.txt 6B
negate4.txt 6B
mult.txt 6B
add.txt 6B
missing-term3.txt 6B
bad-prefix-op.txt 5B
bad-prefix-op2.txt 5B
bad-spaces2.txt 5B
bad-spaces1.txt 5B
missing-term6.txt 4B
bad-terms1.txt 4B
missing-term2.txt 4B
共 110 条
- 1
- 2
资源评论
王奥雷
- 粉丝: 56
- 资源: 4711
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功