An open API service indexing awesome lists of open source software.

https://github.com/suhanyujie/simple-script

PHP 实现的简单脚本语言
https://github.com/suhanyujie/simple-script

lexer-parser php7

Last synced: about 1 year ago
JSON representation

PHP 实现的简单脚本语言

Awesome Lists containing this project

README

          

# simple-script
* 学习[《编译原理之美》](https://time.geekbang.org/column/intro/219)的最佳实践。

## 错误码定义
|参数名 |说明 |备注 |
|:---- |:-----|:----- |
| -1001 | unknow stash posi in stashPos array! | |
| -1011 | recognize token failed! | |

## 其他
* 使用 [bottlecaps](https://bottlecaps.de/rr/ui) 绘制基于 [EBNF](https://baike.baidu.com/item/EBNF/8954482) 的流程转换图。

## 参考
* https://github.com/suhanyujie/hello_parser_of_js
* https://hsiaosiyuan0.gitbook.io/icj
* 自顶向下 https://time.geekbang.org/column/article/119891