My YACC / interpreter study
- https://git.oschina.net/sg-first/Lua-interpreter
- https://github.com/jhays200/C---Lua-Interpreter.git
- https://github.com/clarkok/cua
-
flex & bison
By: John Levine
http://shop.oreilly.com/product/9780596155988.do
ftp://ftp.iecc.com/pub/file/flexbison.zip
search baidupan, flexbison.zip -
スクリプトエンジン プログラミング
坂本 千尋 著
http://www.sbcr.jp/products/4797347623.html -
chiba
スクリプト言語の作り方
A new scripting language in two weeks
两周自制编程语言
http://www.csg.ci.i.u-tokyo.ac.jp/~chiba/site/?ScriptingBook
https://github.com/chibash/stone -
crowbar & diksam
自制编程语言
http://avnpc.com/pages/devlang
http://kmaebashi.com/programmer/devlang/
https://github.com/arikui1911/Godiksam
https://github.com/xumingming/crowbar
https://github.com/Lamod/crowbar
https://github.com/dolphilia/crowbar-xcode
https://github.com/yanggeorge/crowbar_book
https://github.com/insomniacdoll/crowbar-ex
https://github.com/Wonicon/crowbar-learn
https://github.com/sdutlinux/devlang/tree/master/calc/mycalc_ex
https://blog.csdn.net/weixin_30251829/article/details/98910212 -
loucomp
Compiler Construction - Principles and Practice, by Kenneth C. Louden,
编译原理及实践
search baidupan, loucomp.zip
TINY language (Pascal like)
search baidupan, 《编译原理及实践》源码.rar
see below, 编译原理与实践 -
https://github.com/weimingtom/wmt_link_collections_in_Chinese/blob/master/book.md
-
ANTLR 4权威指南
The Definitive ANTLR 4 Reference -
Mini-Java, MiniJava
Modern Compiler Implementation in Java, Second Edition - The MiniJava Project
search baidupan, MCIIJ2E.7z, minijava
https://www.cambridge.org/us/features/052182060X/#progs
现代编译器的Java实现(第二版) -
Virtual Machine Design and Implementation in C / C++
虚拟机的设计与实现 C/C++
search baidupan, 虚拟机设计实现HEC.rar
(NOTE: not this) https://github.com/gregors/hec/blob/master/test/LBI.hec
Virtual Machine Design and Implementation in C-C++
https://github.com/alecnunn/bookresources/tree/master/ComputerScience/Virtual%20Machine%20Design%20and%20Implementation%20in%20C-C++/linux -
Implementing A Scripting Engine - Part 8 - Executable Code
http://www.flipcode.com/archives/Implementing_A_Scripting_Engine-Part_8_Executable_Code.shtml
search baidupan, tut8.zip -
search baidupan, bisontest_vc2008.rar
编译扫描器的源文件。
-8:生成8位扫描器。
-o:指定输出源文件的文件名。
flex -8 -ocalc-scanner.cpp calc-scanner.l
flex相关网站:
http://dinosaur.compilertools.net/
http://dinosaur.compilertools.net/flex/index.html
flex 2.5.4 (mingw)
http://sourceforge.net/projects/gnuwin32/files/flex/
flex 2.5.35 (cygwin)
(dead) http://www.postgresql.org/ftp/misc/winflex/
flex & bison
(?) ftp://ftp.iecc.com/pub/file/ -
Yacc 与 Lex 快速入门
(dead) http://www.ibm.com/developerworks/cn/linux/sdk/lex/index.html
search baidupan, ibm.txt -
Cコンパイラ設計(yacc・lexの応用)/ソース・リスト, but removed now
(something about antlr) http://www.pwv.co.jp/~take/TakeWiki/index.php?FrontPage
(removed) http://www.pwv.co.jp/~take/TakeWiki/index.php?C%E3%82%B3%E3%83%B3%E3%83%91%E3%82%A4%E3%83%A9%E8%A8%AD%E8%A8%88%28yacc%E3%83%BBlex%E3%81%AE%E5%BF%9C%E7%94%A8%29%2F%E3%82%BD%E3%83%BC%E3%82%B9%E3%83%BB%E3%83%AA%E3%82%B9%E3%83%88
search baidupan, sampleC.7z -
boost Spirit
https://www.boost.org/doc/libs/1_67_0/libs/spirit/doc/html/index.html
search baidupan, spirit2_4.pdf -
小型常规语言编译器, antlr
search baidupan, version0.1.rar -
Berkeley Yacc (byacc)
http://invisible-island.net/byacc/byacc.html -
The Lex & Yacc Page
http://dinosaur.compilertools.net/ -
JFlex - The Fast Scanner Generator for Java
http://jflex.de/
https://github.com/jflex-de/jflex -
JLex: A Lexical Analyzer Generator for Java(TM)
http://www.cs.princeton.edu/~appel/modern/java/JLex/ -
GnuWin Packages
http://gnuwin32.sourceforge.net/packages.html -
search yacc flex
http://www.google.com.hk/search?hl=zh-CN&safe=strict&biw=1024&bih=598&q=yacc+flex&aq=f&aqi=&aql=&oq=&gs_rfai= -
The LEMON Parser Generator
http://www.hwaci.com/sw/lemon/ -
ANTLR
http://www.antlr.org/ -
Bison
http://www.gnu.org/software/bison/
http://sourceforge.net/projects/gnuwin32/files/bison/
http://sourceforge.net/projects/gnuwin32/files/libintl/
http://sourceforge.net/projects/gnuwin32/files/libiconv/
http://sourceforge.net/projects/gnuwin32/files/regex/ -
flex: The Fast Lexical Analyzer
http://flex.sourceforge.net
http://sourceforge.net/projects/gnuwin32/files/flex/ -
javacc
https://javacc.dev.java.net/ -
编译原理与实践
http://www.cs.sjsu.edu/faculty/louden/cmptext/
http://www.cppblog.com/Plator/archive/2008/04/10/46767.html -
C Interfaces and Implementations: Techniques for Creating Reusable Software (Addison-Wesley Professional Computing Series)
search baidupan, cii20.zip
http://code.google.com/p/cii/downloads/detail?name=cii20.zip&can=2&q=
《C语言接口与实现:创建可重用软件的技术》
search, C Interfaces and Implementations -
脚本驱动的应用软件开发方法与实践
msxml.dll
activscp.h (from activex???) -
游戏脚本高级编程
(IMP) XtremeScript, XVM, XSC, XASM
lua-4.0.1, Simkin, SimkinCpp213.zip, SimkinJava121.zip
https://sourceforge.net/projects/simkin/
https://github.com/RealityFactory/Simkin/tree/master/cpp -
人工智能游戏编程真言
10 Scripting
a very simple compiler called SCC
scc vm, with yacc -
《数据结构与程序设计C语言描述》英文版,第12章《Case Study:The Polish Notation》
-
用Go语言自制解释器, 用Go语言自制编译器
用Go语言自制解释器
https://www.ituring.com.cn/book/2883
search baidupan
用Go语言自制编译器
https://www.ituring.com.cn/book/2882
search baidupan
https://interpreterbook.com/lost/
https://monkeylang.org
https://github.com/kitasuke/monkey-go
- https://github.com/apache/flex-sdk/tree/develop/modules/debugger/src/java/flex/tools/debugger/cli
- https://github.com/lancejpollard/flex
- https://github.com/zzp-me/_posts/blob/a02badba2aa5a4c3afb7c6829bf36c01e4311662/2009-10-18-basic-interpreter-in-c-1.md
- https://blog.csdn.net/zy1049677338/article/details/80668918
- 以前有本书叫《编程高手箴言》,里面提到一个basic解释器(只能加载文件),
有人吐槽过这个代码:《用C语言写解释器(一)——我们的目标》,
主要是缺少了一些函数导致无法编译。其实这份代码bas-int是
来源于另一篇文章《Building Your Own C Interpreter》,
我试过只能用Turbo C 2.0编译运行(当然运行也有问题,后面说),
可以修改用mingw编译,但运行不出效果,有人修改过(TinyBASIC.c),
可以运行出效果。另外运行的脚本有要求,不能在结尾回车加空行,而且要在文件最后加一个空格 - https://www.drdobbs.com/cpp/building-your-own-c-interpreter/184408184
- https://github.com/dremwilly/CANBas
- (only exe, source not complete) 编程高手箴言_第四章
- (support mingw, TinyBASIC.c) https://github.com/amihart/MIPSelBinaries
- (only support DOSBOX Turbo C 2.0, TC2) https://github.com/noczero/PASCAL-DAP/blob/master/Tubes/References/HPSource/Source16/C/BAS-INT/BAS-INT.C
- 运行的.bas脚本有要求,不能在结尾回车加空行,而且要在文件最后加一个空格
- search baidupan, bas-int_v3_必须用DOSBOX_TC2编译才能运行_mingw只能编译运行tinybasic.7z
- https://github.com/coding-horror/basic-computer-games
- https://github.com/treytomes/ecma_basic
- loucomp.zip
《编译原理及实践》源码
《Compiler Construction Principles and Practice》 - http://www.pwv.co.jp/~take/TakeWiki/index.php?C%E3%82%B3%E3%83%B3%E3%83%91%E3%82%A4%E3%83%A9%E8%A8%AD%E8%A8%88%28yacc%E3%83%BBlex%E3%81%AE%E5%BF%9C%E7%94%A8%29%2F%E3%82%BD%E3%83%BC%E3%82%B9%E3%83%BB%E3%83%AA%E3%82%B9%E3%83%88 sampleC.7z
- cii11__.rar
- cii11.zip
- cii10-nt.zip
- cii-lcc-win32.zip
- ftp://ftp.cs.princeton.edu/pub/packages/cii