├── LICENSE ├── README.md ├── docs └── optimizate.txt ├── feature.md ├── feature └── variable.md ├── src ├── compile │ ├── codegen.cc │ ├── gen.cc │ ├── gen.h │ ├── scope.h │ ├── target.cc │ └── target.h ├── core │ ├── ast.cc │ ├── ast.h │ ├── builtin.cc │ ├── builtin.h │ ├── error.cc │ ├── error.h │ ├── splitfix.h │ ├── type.cc │ └── type.h ├── def.cc ├── global.h ├── parse │ ├── analysis.cc │ ├── analysis.h │ ├── build.cc │ ├── build.h │ ├── element.cc │ ├── element.h │ ├── envir.cc │ ├── envir.h │ ├── filter.cc │ ├── filter.h │ ├── service.cc │ ├── service.h │ ├── stack.cc │ ├── stack.h │ ├── tokenizer.cc │ └── tokenizer.h ├── sys │ ├── debug.cc │ └── debug.h └── util │ ├── argv.cc │ ├── argv.h │ ├── fs.h │ ├── path.cc │ ├── path.h │ └── str.h ├── test ├── def.bat ├── index.def └── script │ ├── class │ ├── common.def │ ├── copy.def │ ├── reference.def │ └── structure.def │ ├── controlflow │ ├── if.def │ ├── scope.def │ └── while.def │ ├── datastruct │ ├── common.def │ ├── inclass.def │ ├── infun.def │ ├── struct.def │ └── tuple.def │ ├── function │ ├── common.def │ ├── lambda.def │ ├── nested.def │ ├── recurse.def │ └── template.def │ ├── macro │ ├── common.def │ ├── std.def │ ├── stdtest.def │ └── uvn.def │ ├── stl │ ├── tpltype.def │ ├── vector1.def │ └── vector2.def │ ├── type.def │ └── variable.def └── www ├── about.php ├── css ├── about.css ├── document.css ├── donate.css ├── download.css ├── global.css ├── index.css └── manual.css ├── document └── index.php ├── donate └── index.php ├── download └── index.php ├── favicon.ico ├── footer.php ├── header.php ├── img ├── 2wm │ ├── donate1.png │ ├── donate2.png │ ├── qqq1.png │ ├── qqq2.png │ ├── weibo.png │ └── zhihu.png ├── forkme.png ├── logo.png └── logo_small.png ├── index.php ├── js └── jquery.min.js └── manual └── index.php /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/README.md -------------------------------------------------------------------------------- /docs/optimizate.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/docs/optimizate.txt -------------------------------------------------------------------------------- /feature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/feature.md -------------------------------------------------------------------------------- /feature/variable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/feature/variable.md -------------------------------------------------------------------------------- /src/compile/codegen.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/compile/codegen.cc -------------------------------------------------------------------------------- /src/compile/gen.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/compile/gen.cc -------------------------------------------------------------------------------- /src/compile/gen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/compile/gen.h -------------------------------------------------------------------------------- /src/compile/scope.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/compile/scope.h -------------------------------------------------------------------------------- /src/compile/target.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/compile/target.cc -------------------------------------------------------------------------------- /src/compile/target.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/compile/target.h -------------------------------------------------------------------------------- /src/core/ast.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/core/ast.cc -------------------------------------------------------------------------------- /src/core/ast.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/core/ast.h -------------------------------------------------------------------------------- /src/core/builtin.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/core/builtin.cc -------------------------------------------------------------------------------- /src/core/builtin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/core/builtin.h -------------------------------------------------------------------------------- /src/core/error.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/core/error.cc -------------------------------------------------------------------------------- /src/core/error.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/core/error.h -------------------------------------------------------------------------------- /src/core/splitfix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/core/splitfix.h -------------------------------------------------------------------------------- /src/core/type.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/core/type.cc -------------------------------------------------------------------------------- /src/core/type.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/core/type.h -------------------------------------------------------------------------------- /src/def.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/def.cc -------------------------------------------------------------------------------- /src/global.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/global.h -------------------------------------------------------------------------------- /src/parse/analysis.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/analysis.cc -------------------------------------------------------------------------------- /src/parse/analysis.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/analysis.h -------------------------------------------------------------------------------- /src/parse/build.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/build.cc -------------------------------------------------------------------------------- /src/parse/build.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/build.h -------------------------------------------------------------------------------- /src/parse/element.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/element.cc -------------------------------------------------------------------------------- /src/parse/element.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/element.h -------------------------------------------------------------------------------- /src/parse/envir.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/envir.cc -------------------------------------------------------------------------------- /src/parse/envir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/envir.h -------------------------------------------------------------------------------- /src/parse/filter.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/filter.cc -------------------------------------------------------------------------------- /src/parse/filter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/filter.h -------------------------------------------------------------------------------- /src/parse/service.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/service.cc -------------------------------------------------------------------------------- /src/parse/service.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/service.h -------------------------------------------------------------------------------- /src/parse/stack.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/stack.cc -------------------------------------------------------------------------------- /src/parse/stack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/stack.h -------------------------------------------------------------------------------- /src/parse/tokenizer.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/tokenizer.cc -------------------------------------------------------------------------------- /src/parse/tokenizer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/parse/tokenizer.h -------------------------------------------------------------------------------- /src/sys/debug.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/sys/debug.cc -------------------------------------------------------------------------------- /src/sys/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/sys/debug.h -------------------------------------------------------------------------------- /src/util/argv.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/util/argv.cc -------------------------------------------------------------------------------- /src/util/argv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/util/argv.h -------------------------------------------------------------------------------- /src/util/fs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/util/fs.h -------------------------------------------------------------------------------- /src/util/path.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/util/path.cc -------------------------------------------------------------------------------- /src/util/path.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/util/path.h -------------------------------------------------------------------------------- /src/util/str.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/src/util/str.h -------------------------------------------------------------------------------- /test/def.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/def.bat -------------------------------------------------------------------------------- /test/index.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/index.def -------------------------------------------------------------------------------- /test/script/class/common.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/class/common.def -------------------------------------------------------------------------------- /test/script/class/copy.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/class/copy.def -------------------------------------------------------------------------------- /test/script/class/reference.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/class/reference.def -------------------------------------------------------------------------------- /test/script/class/structure.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/class/structure.def -------------------------------------------------------------------------------- /test/script/controlflow/if.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/controlflow/if.def -------------------------------------------------------------------------------- /test/script/controlflow/scope.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/controlflow/scope.def -------------------------------------------------------------------------------- /test/script/controlflow/while.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/controlflow/while.def -------------------------------------------------------------------------------- /test/script/datastruct/common.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/datastruct/common.def -------------------------------------------------------------------------------- /test/script/datastruct/inclass.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/datastruct/inclass.def -------------------------------------------------------------------------------- /test/script/datastruct/infun.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/datastruct/infun.def -------------------------------------------------------------------------------- /test/script/datastruct/struct.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/datastruct/struct.def -------------------------------------------------------------------------------- /test/script/datastruct/tuple.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/datastruct/tuple.def -------------------------------------------------------------------------------- /test/script/function/common.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/function/common.def -------------------------------------------------------------------------------- /test/script/function/lambda.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/function/lambda.def -------------------------------------------------------------------------------- /test/script/function/nested.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/function/nested.def -------------------------------------------------------------------------------- /test/script/function/recurse.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/function/recurse.def -------------------------------------------------------------------------------- /test/script/function/template.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/function/template.def -------------------------------------------------------------------------------- /test/script/macro/common.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/macro/common.def -------------------------------------------------------------------------------- /test/script/macro/std.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/macro/std.def -------------------------------------------------------------------------------- /test/script/macro/stdtest.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/macro/stdtest.def -------------------------------------------------------------------------------- /test/script/macro/uvn.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/macro/uvn.def -------------------------------------------------------------------------------- /test/script/stl/tpltype.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/stl/tpltype.def -------------------------------------------------------------------------------- /test/script/stl/vector1.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/stl/vector1.def -------------------------------------------------------------------------------- /test/script/stl/vector2.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/stl/vector2.def -------------------------------------------------------------------------------- /test/script/type.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/type.def -------------------------------------------------------------------------------- /test/script/variable.def: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/test/script/variable.def -------------------------------------------------------------------------------- /www/about.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/about.php -------------------------------------------------------------------------------- /www/css/about.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/css/about.css -------------------------------------------------------------------------------- /www/css/document.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/css/document.css -------------------------------------------------------------------------------- /www/css/donate.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/css/donate.css -------------------------------------------------------------------------------- /www/css/download.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/css/download.css -------------------------------------------------------------------------------- /www/css/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/css/global.css -------------------------------------------------------------------------------- /www/css/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/css/index.css -------------------------------------------------------------------------------- /www/css/manual.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/css/manual.css -------------------------------------------------------------------------------- /www/document/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/document/index.php -------------------------------------------------------------------------------- /www/donate/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/donate/index.php -------------------------------------------------------------------------------- /www/download/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/download/index.php -------------------------------------------------------------------------------- /www/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/favicon.ico -------------------------------------------------------------------------------- /www/footer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/footer.php -------------------------------------------------------------------------------- /www/header.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/header.php -------------------------------------------------------------------------------- /www/img/2wm/donate1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/img/2wm/donate1.png -------------------------------------------------------------------------------- /www/img/2wm/donate2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/img/2wm/donate2.png -------------------------------------------------------------------------------- /www/img/2wm/qqq1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/img/2wm/qqq1.png -------------------------------------------------------------------------------- /www/img/2wm/qqq2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/img/2wm/qqq2.png -------------------------------------------------------------------------------- /www/img/2wm/weibo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/img/2wm/weibo.png -------------------------------------------------------------------------------- /www/img/2wm/zhihu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/img/2wm/zhihu.png -------------------------------------------------------------------------------- /www/img/forkme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/img/forkme.png -------------------------------------------------------------------------------- /www/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/img/logo.png -------------------------------------------------------------------------------- /www/img/logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/img/logo_small.png -------------------------------------------------------------------------------- /www/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/index.php -------------------------------------------------------------------------------- /www/js/jquery.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/js/jquery.min.js -------------------------------------------------------------------------------- /www/manual/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jojoin/Def/HEAD/www/manual/index.php --------------------------------------------------------------------------------