Skip to content
Antlr + JavaScript, 集成p5js, 实现动态效果演示
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
例程
图标
演示
.gitignore
README.md
antlr-4.7-complete.jar
p5js中文.js
圈3.css
圈3.g4
圈3.html
圈3.js
圈3.tokens
圈3Lexer.js
圈3Lexer.tokens
圈3Listener.js
圈3Parser.js
圈3Visitor.js
定制访问器.js
编译.js
语法树处理.js

README.md

2019-01-23-logo圆包络

介绍:

由语法定义文件生成Listener, Visitor, Lexer等文件:

$ java -cp "antlr-4.7-complete.jar:$CLASSPATH" org.antlr.v4.Tool -Dlanguage=JavaScript -visitor 圈3.g4

圈3.js由如下生成:

$ browserify 编译.js > 圈3.js

提交前请通过所有测试:

安装QUnit后运行:

$ qunit
You can’t perform that action at this time.