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

https://github.com/plusls/ast-interpreter

基于 clang-10 实现的 简单的 c 语言解释器
https://github.com/plusls/ast-interpreter

Last synced: about 2 months ago
JSON representation

基于 clang-10 实现的 简单的 c 语言解释器

Awesome Lists containing this project

README

          

# ast-interpreter

基于 clang-10 实现的 c 语言解释器

## 实现细节

表达式运算结果全部使用 map 存储

return 使用抛出异常实现

## 测试结果

test: 20/20

mytest: 12/12

classtest: 25/25

## 参考资料

https://github.com/ycdxsb/ast-interpreter