First: what is Reversed automatic differentiation? Google or Baidu 首先请通过百度或者谷歌学会反向自动微分是什么~
Simple pick up of Lex & Yacc (flex & bison):
- yacc & lex online manual http://dinosaur.compilertools.net/
- Mini-C-Compiler in yacc https://github.com/rabishah/Mini-C-Compiler-using-Flex-And-Yacc
- generating file:lex translate.l yacc translate.y gcc y.tab.c -ly -ll(google it and you'll get it)
- small calculator https://developer.ibm.com/technologies/systems/tutorials/au-lexyacc/
- try to read as much as you can! Good luck.
快速入门必看:
- yacc和lex简洁版手册 http://dinosaur.compilertools.net/
- 小型c语言编译器 https://github.com/rabishah/Mini-C-Compiler-using-Flex-And-Yacc
- linux编译命令行:lex translate.l 下一句yacc translate.y 下一句gcc y.tab.c -ly -ll(可能有区别建议百度)
- 小型计算器 https://developer.ibm.com/technologies/systems/tutorials/au-lexyacc/
- 本实验要求巨大多英文阅读能力,请多多加油~
- 中科大2020CS编译原理zql班实验