├── .github └── workflows │ ├── ci.yml │ └── docker.yml ├── .gitignore ├── .gitmodules ├── .mailmap ├── 3rdparty └── antlr3 │ ├── antlr.jar │ └── python-runtime │ └── antlr3 │ ├── __init__.py │ ├── compat.py │ ├── constants.py │ ├── debug.py │ ├── dfa.py │ ├── dottreegen.py │ ├── exceptions.py │ ├── extras.py │ ├── main.py │ ├── recognizers.py │ ├── streams.py │ ├── tokens.py │ ├── tree.py │ └── treewizard.py ├── COPYING ├── Dockerfile ├── Makefile ├── NEWS ├── README ├── bkl ├── distrib ├── Makefile ├── README ├── pyinstaller │ ├── README │ ├── bkl.spec │ └── hook-bkl.plugins.py └── wix │ ├── Copying.rtf │ ├── README │ └── bkl.wxs ├── docs ├── Makefile ├── api.rst ├── bkl_lexer.py ├── conf.py ├── devel.rst ├── gen_reference.py ├── glossary.rst ├── index.rst ├── internals.rst ├── intro.rst ├── language.rst ├── ref.rst ├── ref_targets.rst ├── ref_toolsets.rst └── tutorial.rst ├── extras └── vim │ └── bkl.vim ├── pytest.ini ├── src ├── bkl │ ├── __init__.py │ ├── api.py │ ├── compilers.py │ ├── dumper.py │ ├── error.py │ ├── expr.py │ ├── interpreter │ │ ├── __init__.py │ │ ├── analyze.py │ │ ├── builder.py │ │ ├── passes.py │ │ └── simplify.py │ ├── io.py │ ├── makefile.py │ ├── model.py │ ├── parser │ │ ├── Bakefile.g │ │ ├── BakefileQuotedString.g │ │ ├── __init__.py │ │ └── ast.py │ ├── plugins │ │ ├── __init__.py │ │ ├── action.py │ │ ├── external.py │ │ ├── gnu.py │ │ ├── native.py │ │ ├── vs200x.py │ │ ├── vs201x.py │ │ ├── vsbase.py │ │ └── wxwidgets.py │ ├── props.py │ ├── utils.py │ ├── vartypes.py │ └── version.py └── tool.py └── tests ├── README ├── conftest.py ├── indir.py ├── projects ├── .gitignore ├── __init__.py ├── action │ ├── action.bkl │ └── action.model ├── cflags │ ├── cflags.bkl │ └── cflags.model ├── conditional │ ├── conditional.bkl │ ├── conditional.model │ ├── debug.c │ └── hello.c ├── configs │ ├── custom_config.bkl │ ├── custom_config.model │ ├── hello.cpp │ └── helpers.cpp ├── deps │ ├── common.c │ ├── libA.c │ ├── testdeps.bkl │ ├── testdeps.c │ └── testdeps.model ├── dll │ ├── common.cpp │ ├── dll.bkl │ ├── dll.model │ └── helpers.cpp ├── externals │ ├── HelloWorldManual.vcxproj │ ├── HelloWorldManual.vcxproj.filters │ ├── external.bkl │ ├── external.model │ └── xmlwrapp_vc9_xmlwrapp.vcproj ├── generated_files │ ├── generated_files.bkl │ ├── generated_files.model │ ├── gensrc.txt │ ├── gensrc2.txt │ ├── gensrc_hdr.txt │ ├── main.cpp │ └── make_gensrc.py ├── hello_world │ ├── hello.c │ ├── hello_world.bkl │ └── hello_world.model ├── library │ ├── common.cpp │ ├── helpers.cpp │ ├── library.bkl │ └── library.model ├── msvs │ ├── properties.bkl │ ├── properties.model │ ├── single_project.bkl │ └── single_project.model ├── no_toolsets_set │ ├── dont_set_toolsets.bkl │ └── dont_set_toolsets.model ├── postbuild │ ├── postbuild.bkl │ ├── postbuild.model │ └── test.cpp ├── settings │ ├── hello.cpp │ ├── settings.bkl │ └── settings.model ├── submodules │ ├── child │ │ ├── child.bkl │ │ └── child.cpp │ ├── lib │ │ ├── libcommon.bkl │ │ └── utils.cpp │ ├── main.bkl │ ├── main.cpp │ ├── main.model │ ├── nonexistent_submodule.bkl │ └── nonexistent_submodule.model └── wx │ ├── resources.xrc │ ├── wxtest.bkl │ ├── wxtest.cpp │ └── wxtest.model ├── test_builder.py ├── test_full.py ├── test_model ├── __init__.py ├── exception_in_target_if.bkl ├── exception_in_target_if.model ├── paths.bkl ├── paths.model ├── properties │ ├── readonly_prop.bkl │ ├── readonly_prop.model │ ├── set_toolsets_bad.bkl │ ├── set_toolsets_bad.model │ ├── set_toolsets_good.bkl │ └── set_toolsets_good.model ├── referenced_list.bkl ├── referenced_list.model ├── sources_list │ ├── hello.c │ ├── sources_from_id.bkl │ ├── sources_from_id.model │ ├── sources_from_id2.bkl │ ├── sources_from_id2.model │ ├── sources_in_base.bkl │ ├── sources_in_base.model │ ├── sources_in_var.bkl │ ├── sources_in_var.model │ ├── sources_in_var_bad.bkl │ └── sources_in_var_bad.model └── validation │ ├── bad_anchor.bkl │ ├── bad_anchor.model │ ├── bad_bool_expr1.bkl │ ├── bad_bool_expr1.model │ ├── bad_bool_expr2.bkl │ ├── bad_bool_expr2.model │ ├── bad_model_condition.bkl │ ├── bad_model_condition.model │ ├── good_model_condition.bkl │ ├── good_model_condition.model │ ├── recursion.bkl │ └── recursion.model ├── test_parser.py ├── test_parsing ├── __init__.py ├── bakefile_0_2.bkl ├── comments │ ├── multi_line.ast │ ├── multi_line.bkl │ ├── multi_line.model │ ├── single_line.ast │ ├── single_line.bkl │ └── single_line.model ├── target │ ├── duplicate_id.ast │ ├── duplicate_id.bkl │ ├── duplicate_id.model │ ├── empty_file.ast │ ├── empty_file.bkl │ ├── empty_file.model │ ├── no_target_body.ast │ ├── no_target_body.bkl │ ├── no_target_body_two.ast │ ├── no_target_body_two.bkl │ ├── no_target_body_two2.ast │ ├── no_target_body_two2.bkl │ ├── simple.ast │ ├── simple.bkl │ ├── simple.model │ ├── two.ast │ ├── two.bkl │ ├── two.model │ ├── two2.ast │ ├── two2.bkl │ ├── two2.model │ ├── wrong_type.ast │ ├── wrong_type.bkl │ └── wrong_type.model ├── templates │ ├── template.ast │ ├── template.bkl │ └── template.model ├── vars │ ├── append.ast │ ├── append.bkl │ ├── append.model │ ├── append_nonexist.ast │ ├── append_nonexist.bkl │ ├── append_nonexist.model │ ├── append_nonlist.ast │ ├── append_nonlist.bkl │ ├── append_nonlist.model │ ├── bools.ast │ ├── bools.bkl │ ├── bools.model │ ├── changed_var.ast │ ├── changed_var.bkl │ ├── changed_var.model │ ├── concat.ast │ ├── concat.bkl │ ├── concat.model │ ├── input.ast │ ├── input.bkl │ ├── input.model │ ├── multiline_bad.ast │ ├── multiline_bad.bkl │ ├── multiline_good.ast │ ├── multiline_good.bkl │ ├── multiline_good.model │ ├── quoted.ast │ ├── quoted.bkl │ ├── quoted.model │ ├── reference.ast │ ├── reference.bkl │ ├── reference.model │ ├── scoped_assignment.ast │ ├── scoped_assignment.bkl │ ├── scoped_assignment.model │ ├── scoped_assignment_bad1.ast │ ├── scoped_assignment_bad1.bkl │ ├── scoped_assignment_bad1.model │ ├── scoped_assignment_bad2.ast │ ├── scoped_assignment_bad2.bkl │ ├── scoped_assignment_bad2.model │ ├── vars_on_target.ast │ ├── vars_on_target.bkl │ └── vars_on_target.model ├── version_old.bkl └── version_very_old.bkl └── test_plumbing.py /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/.github/workflows/docker.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/.mailmap -------------------------------------------------------------------------------- /3rdparty/antlr3/antlr.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/antlr.jar -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/__init__.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/compat.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/constants.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/debug.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/dfa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/dfa.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/dottreegen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/dottreegen.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/exceptions.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/extras.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/extras.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/main.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/recognizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/recognizers.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/streams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/streams.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/tokens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/tokens.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/tree.py -------------------------------------------------------------------------------- /3rdparty/antlr3/python-runtime/antlr3/treewizard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/3rdparty/antlr3/python-runtime/antlr3/treewizard.py -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/COPYING -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/Dockerfile -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/Makefile -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/NEWS -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/README -------------------------------------------------------------------------------- /bkl: -------------------------------------------------------------------------------- 1 | src/tool.py -------------------------------------------------------------------------------- /distrib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/distrib/Makefile -------------------------------------------------------------------------------- /distrib/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/distrib/README -------------------------------------------------------------------------------- /distrib/pyinstaller/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/distrib/pyinstaller/README -------------------------------------------------------------------------------- /distrib/pyinstaller/bkl.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/distrib/pyinstaller/bkl.spec -------------------------------------------------------------------------------- /distrib/pyinstaller/hook-bkl.plugins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/distrib/pyinstaller/hook-bkl.plugins.py -------------------------------------------------------------------------------- /distrib/wix/Copying.rtf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/distrib/wix/Copying.rtf -------------------------------------------------------------------------------- /distrib/wix/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/distrib/wix/README -------------------------------------------------------------------------------- /distrib/wix/bkl.wxs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/distrib/wix/bkl.wxs -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/bkl_lexer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/bkl_lexer.py -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/devel.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/devel.rst -------------------------------------------------------------------------------- /docs/gen_reference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/gen_reference.py -------------------------------------------------------------------------------- /docs/glossary.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/glossary.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/internals.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/internals.rst -------------------------------------------------------------------------------- /docs/intro.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/intro.rst -------------------------------------------------------------------------------- /docs/language.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/language.rst -------------------------------------------------------------------------------- /docs/ref.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/ref.rst -------------------------------------------------------------------------------- /docs/ref_targets.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/ref_targets.rst -------------------------------------------------------------------------------- /docs/ref_toolsets.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/ref_toolsets.rst -------------------------------------------------------------------------------- /docs/tutorial.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/docs/tutorial.rst -------------------------------------------------------------------------------- /extras/vim/bkl.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/extras/vim/bkl.vim -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | norecursedirs = 3rdparty 3 | -------------------------------------------------------------------------------- /src/bkl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/__init__.py -------------------------------------------------------------------------------- /src/bkl/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/api.py -------------------------------------------------------------------------------- /src/bkl/compilers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/compilers.py -------------------------------------------------------------------------------- /src/bkl/dumper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/dumper.py -------------------------------------------------------------------------------- /src/bkl/error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/error.py -------------------------------------------------------------------------------- /src/bkl/expr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/expr.py -------------------------------------------------------------------------------- /src/bkl/interpreter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/interpreter/__init__.py -------------------------------------------------------------------------------- /src/bkl/interpreter/analyze.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/interpreter/analyze.py -------------------------------------------------------------------------------- /src/bkl/interpreter/builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/interpreter/builder.py -------------------------------------------------------------------------------- /src/bkl/interpreter/passes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/interpreter/passes.py -------------------------------------------------------------------------------- /src/bkl/interpreter/simplify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/interpreter/simplify.py -------------------------------------------------------------------------------- /src/bkl/io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/io.py -------------------------------------------------------------------------------- /src/bkl/makefile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/makefile.py -------------------------------------------------------------------------------- /src/bkl/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/model.py -------------------------------------------------------------------------------- /src/bkl/parser/Bakefile.g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/parser/Bakefile.g -------------------------------------------------------------------------------- /src/bkl/parser/BakefileQuotedString.g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/parser/BakefileQuotedString.g -------------------------------------------------------------------------------- /src/bkl/parser/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/parser/__init__.py -------------------------------------------------------------------------------- /src/bkl/parser/ast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/parser/ast.py -------------------------------------------------------------------------------- /src/bkl/plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/plugins/__init__.py -------------------------------------------------------------------------------- /src/bkl/plugins/action.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/plugins/action.py -------------------------------------------------------------------------------- /src/bkl/plugins/external.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/plugins/external.py -------------------------------------------------------------------------------- /src/bkl/plugins/gnu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/plugins/gnu.py -------------------------------------------------------------------------------- /src/bkl/plugins/native.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/plugins/native.py -------------------------------------------------------------------------------- /src/bkl/plugins/vs200x.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/plugins/vs200x.py -------------------------------------------------------------------------------- /src/bkl/plugins/vs201x.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/plugins/vs201x.py -------------------------------------------------------------------------------- /src/bkl/plugins/vsbase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/plugins/vsbase.py -------------------------------------------------------------------------------- /src/bkl/plugins/wxwidgets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/plugins/wxwidgets.py -------------------------------------------------------------------------------- /src/bkl/props.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/props.py -------------------------------------------------------------------------------- /src/bkl/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/utils.py -------------------------------------------------------------------------------- /src/bkl/vartypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/vartypes.py -------------------------------------------------------------------------------- /src/bkl/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/bkl/version.py -------------------------------------------------------------------------------- /src/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/src/tool.py -------------------------------------------------------------------------------- /tests/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/README -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/indir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/indir.py -------------------------------------------------------------------------------- /tests/projects/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/.gitignore -------------------------------------------------------------------------------- /tests/projects/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/projects/action/action.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/action/action.bkl -------------------------------------------------------------------------------- /tests/projects/action/action.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/action/action.model -------------------------------------------------------------------------------- /tests/projects/cflags/cflags.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/cflags/cflags.bkl -------------------------------------------------------------------------------- /tests/projects/cflags/cflags.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/cflags/cflags.model -------------------------------------------------------------------------------- /tests/projects/conditional/conditional.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/conditional/conditional.bkl -------------------------------------------------------------------------------- /tests/projects/conditional/conditional.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/conditional/conditional.model -------------------------------------------------------------------------------- /tests/projects/conditional/debug.c: -------------------------------------------------------------------------------- 1 | 2 | void debug_func() 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /tests/projects/conditional/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/conditional/hello.c -------------------------------------------------------------------------------- /tests/projects/configs/custom_config.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/configs/custom_config.bkl -------------------------------------------------------------------------------- /tests/projects/configs/custom_config.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/configs/custom_config.model -------------------------------------------------------------------------------- /tests/projects/configs/hello.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/configs/hello.cpp -------------------------------------------------------------------------------- /tests/projects/configs/helpers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/configs/helpers.cpp -------------------------------------------------------------------------------- /tests/projects/deps/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/deps/common.c -------------------------------------------------------------------------------- /tests/projects/deps/libA.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/deps/libA.c -------------------------------------------------------------------------------- /tests/projects/deps/testdeps.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/deps/testdeps.bkl -------------------------------------------------------------------------------- /tests/projects/deps/testdeps.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/deps/testdeps.c -------------------------------------------------------------------------------- /tests/projects/deps/testdeps.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/deps/testdeps.model -------------------------------------------------------------------------------- /tests/projects/dll/common.cpp: -------------------------------------------------------------------------------- 1 | void common() 2 | { 3 | } -------------------------------------------------------------------------------- /tests/projects/dll/dll.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/dll/dll.bkl -------------------------------------------------------------------------------- /tests/projects/dll/dll.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/dll/dll.model -------------------------------------------------------------------------------- /tests/projects/dll/helpers.cpp: -------------------------------------------------------------------------------- 1 | #ifdef _WIN32 2 | __declspec(dllexport) 3 | #endif 4 | void helper() 5 | { 6 | } -------------------------------------------------------------------------------- /tests/projects/externals/HelloWorldManual.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/externals/HelloWorldManual.vcxproj -------------------------------------------------------------------------------- /tests/projects/externals/HelloWorldManual.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/externals/HelloWorldManual.vcxproj.filters -------------------------------------------------------------------------------- /tests/projects/externals/external.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/externals/external.bkl -------------------------------------------------------------------------------- /tests/projects/externals/external.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/externals/external.model -------------------------------------------------------------------------------- /tests/projects/externals/xmlwrapp_vc9_xmlwrapp.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/externals/xmlwrapp_vc9_xmlwrapp.vcproj -------------------------------------------------------------------------------- /tests/projects/generated_files/generated_files.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/generated_files/generated_files.bkl -------------------------------------------------------------------------------- /tests/projects/generated_files/generated_files.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/generated_files/generated_files.model -------------------------------------------------------------------------------- /tests/projects/generated_files/gensrc.txt: -------------------------------------------------------------------------------- 1 | dummy content 2 | -------------------------------------------------------------------------------- /tests/projects/generated_files/gensrc2.txt: -------------------------------------------------------------------------------- 1 | both files generated by a single command 2 | -------------------------------------------------------------------------------- /tests/projects/generated_files/gensrc_hdr.txt: -------------------------------------------------------------------------------- 1 | dummy content 2 | -------------------------------------------------------------------------------- /tests/projects/generated_files/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/generated_files/main.cpp -------------------------------------------------------------------------------- /tests/projects/generated_files/make_gensrc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/generated_files/make_gensrc.py -------------------------------------------------------------------------------- /tests/projects/hello_world/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/hello_world/hello.c -------------------------------------------------------------------------------- /tests/projects/hello_world/hello_world.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/hello_world/hello_world.bkl -------------------------------------------------------------------------------- /tests/projects/hello_world/hello_world.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/hello_world/hello_world.model -------------------------------------------------------------------------------- /tests/projects/library/common.cpp: -------------------------------------------------------------------------------- 1 | void common() 2 | { 3 | } -------------------------------------------------------------------------------- /tests/projects/library/helpers.cpp: -------------------------------------------------------------------------------- 1 | void helper() 2 | { 3 | } -------------------------------------------------------------------------------- /tests/projects/library/library.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/library/library.bkl -------------------------------------------------------------------------------- /tests/projects/library/library.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/library/library.model -------------------------------------------------------------------------------- /tests/projects/msvs/properties.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/msvs/properties.bkl -------------------------------------------------------------------------------- /tests/projects/msvs/properties.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/msvs/properties.model -------------------------------------------------------------------------------- /tests/projects/msvs/single_project.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/msvs/single_project.bkl -------------------------------------------------------------------------------- /tests/projects/msvs/single_project.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/msvs/single_project.model -------------------------------------------------------------------------------- /tests/projects/no_toolsets_set/dont_set_toolsets.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/no_toolsets_set/dont_set_toolsets.bkl -------------------------------------------------------------------------------- /tests/projects/no_toolsets_set/dont_set_toolsets.model: -------------------------------------------------------------------------------- 1 | ERROR: 2 | nothing to generate, "toolsets" property is empty 3 | -------------------------------------------------------------------------------- /tests/projects/postbuild/postbuild.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/postbuild/postbuild.bkl -------------------------------------------------------------------------------- /tests/projects/postbuild/postbuild.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/postbuild/postbuild.model -------------------------------------------------------------------------------- /tests/projects/postbuild/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/postbuild/test.cpp -------------------------------------------------------------------------------- /tests/projects/settings/hello.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/settings/hello.cpp -------------------------------------------------------------------------------- /tests/projects/settings/settings.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/settings/settings.bkl -------------------------------------------------------------------------------- /tests/projects/settings/settings.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/settings/settings.model -------------------------------------------------------------------------------- /tests/projects/submodules/child/child.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/submodules/child/child.bkl -------------------------------------------------------------------------------- /tests/projects/submodules/child/child.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/submodules/child/child.cpp -------------------------------------------------------------------------------- /tests/projects/submodules/lib/libcommon.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/submodules/lib/libcommon.bkl -------------------------------------------------------------------------------- /tests/projects/submodules/lib/utils.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/projects/submodules/main.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/submodules/main.bkl -------------------------------------------------------------------------------- /tests/projects/submodules/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/submodules/main.cpp -------------------------------------------------------------------------------- /tests/projects/submodules/main.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/submodules/main.model -------------------------------------------------------------------------------- /tests/projects/submodules/nonexistent_submodule.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/submodules/nonexistent_submodule.bkl -------------------------------------------------------------------------------- /tests/projects/submodules/nonexistent_submodule.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/submodules/nonexistent_submodule.model -------------------------------------------------------------------------------- /tests/projects/wx/resources.xrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/wx/resources.xrc -------------------------------------------------------------------------------- /tests/projects/wx/wxtest.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/wx/wxtest.bkl -------------------------------------------------------------------------------- /tests/projects/wx/wxtest.cpp: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /tests/projects/wx/wxtest.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/projects/wx/wxtest.model -------------------------------------------------------------------------------- /tests/test_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_builder.py -------------------------------------------------------------------------------- /tests/test_full.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_full.py -------------------------------------------------------------------------------- /tests/test_model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_model/exception_in_target_if.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/exception_in_target_if.bkl -------------------------------------------------------------------------------- /tests/test_model/exception_in_target_if.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/exception_in_target_if.model -------------------------------------------------------------------------------- /tests/test_model/paths.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/paths.bkl -------------------------------------------------------------------------------- /tests/test_model/paths.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/paths.model -------------------------------------------------------------------------------- /tests/test_model/properties/readonly_prop.bkl: -------------------------------------------------------------------------------- 1 | program foo { 2 | id = cant_change_this; 3 | } 4 | -------------------------------------------------------------------------------- /tests/test_model/properties/readonly_prop.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/properties/readonly_prop.model -------------------------------------------------------------------------------- /tests/test_model/properties/set_toolsets_bad.bkl: -------------------------------------------------------------------------------- 1 | toolsets = nonexistent; 2 | -------------------------------------------------------------------------------- /tests/test_model/properties/set_toolsets_bad.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/properties/set_toolsets_bad.model -------------------------------------------------------------------------------- /tests/test_model/properties/set_toolsets_good.bkl: -------------------------------------------------------------------------------- 1 | toolsets = gnu; 2 | -------------------------------------------------------------------------------- /tests/test_model/properties/set_toolsets_good.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/properties/set_toolsets_good.model -------------------------------------------------------------------------------- /tests/test_model/referenced_list.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/referenced_list.bkl -------------------------------------------------------------------------------- /tests/test_model/referenced_list.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/referenced_list.model -------------------------------------------------------------------------------- /tests/test_model/sources_list/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/hello.c -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_from_id.bkl: -------------------------------------------------------------------------------- 1 | toolsets = gnu; 2 | 3 | program hello { 4 | sources { $(id).c } 5 | } 6 | -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_from_id.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/sources_from_id.model -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_from_id2.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/sources_from_id2.bkl -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_from_id2.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/sources_from_id2.model -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_in_base.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/sources_in_base.bkl -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_in_base.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/sources_in_base.model -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_in_var.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/sources_in_var.bkl -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_in_var.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/sources_in_var.model -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_in_var_bad.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/sources_in_var_bad.bkl -------------------------------------------------------------------------------- /tests/test_model/sources_list/sources_in_var_bad.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/sources_list/sources_in_var_bad.model -------------------------------------------------------------------------------- /tests/test_model/validation/bad_anchor.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/bad_anchor.bkl -------------------------------------------------------------------------------- /tests/test_model/validation/bad_anchor.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/bad_anchor.model -------------------------------------------------------------------------------- /tests/test_model/validation/bad_bool_expr1.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/bad_bool_expr1.bkl -------------------------------------------------------------------------------- /tests/test_model/validation/bad_bool_expr1.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/bad_bool_expr1.model -------------------------------------------------------------------------------- /tests/test_model/validation/bad_bool_expr2.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/bad_bool_expr2.bkl -------------------------------------------------------------------------------- /tests/test_model/validation/bad_bool_expr2.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/bad_bool_expr2.model -------------------------------------------------------------------------------- /tests/test_model/validation/bad_model_condition.bkl: -------------------------------------------------------------------------------- 1 | toolsets = gnu; 2 | 3 | if ( foobar ) { 4 | program hello {} 5 | } 6 | -------------------------------------------------------------------------------- /tests/test_model/validation/bad_model_condition.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/bad_model_condition.model -------------------------------------------------------------------------------- /tests/test_model/validation/good_model_condition.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/good_model_condition.bkl -------------------------------------------------------------------------------- /tests/test_model/validation/good_model_condition.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/good_model_condition.model -------------------------------------------------------------------------------- /tests/test_model/validation/recursion.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/recursion.bkl -------------------------------------------------------------------------------- /tests/test_model/validation/recursion.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_model/validation/recursion.model -------------------------------------------------------------------------------- /tests/test_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parser.py -------------------------------------------------------------------------------- /tests/test_parsing/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_parsing/bakefile_0_2.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/bakefile_0_2.bkl -------------------------------------------------------------------------------- /tests/test_parsing/comments/multi_line.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/comments/multi_line.ast -------------------------------------------------------------------------------- /tests/test_parsing/comments/multi_line.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/comments/multi_line.bkl -------------------------------------------------------------------------------- /tests/test_parsing/comments/multi_line.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/comments/multi_line.model -------------------------------------------------------------------------------- /tests/test_parsing/comments/single_line.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/comments/single_line.ast -------------------------------------------------------------------------------- /tests/test_parsing/comments/single_line.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/comments/single_line.bkl -------------------------------------------------------------------------------- /tests/test_parsing/comments/single_line.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/comments/single_line.model -------------------------------------------------------------------------------- /tests/test_parsing/target/duplicate_id.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/duplicate_id.ast -------------------------------------------------------------------------------- /tests/test_parsing/target/duplicate_id.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/duplicate_id.bkl -------------------------------------------------------------------------------- /tests/test_parsing/target/duplicate_id.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/duplicate_id.model -------------------------------------------------------------------------------- /tests/test_parsing/target/empty_file.ast: -------------------------------------------------------------------------------- 1 | RootNode 2 | -------------------------------------------------------------------------------- /tests/test_parsing/target/empty_file.bkl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_parsing/target/empty_file.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/empty_file.model -------------------------------------------------------------------------------- /tests/test_parsing/target/no_target_body.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/no_target_body.ast -------------------------------------------------------------------------------- /tests/test_parsing/target/no_target_body.bkl: -------------------------------------------------------------------------------- 1 | program hello 2 | -------------------------------------------------------------------------------- /tests/test_parsing/target/no_target_body_two.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/no_target_body_two.ast -------------------------------------------------------------------------------- /tests/test_parsing/target/no_target_body_two.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/no_target_body_two.bkl -------------------------------------------------------------------------------- /tests/test_parsing/target/no_target_body_two2.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/no_target_body_two2.ast -------------------------------------------------------------------------------- /tests/test_parsing/target/no_target_body_two2.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/no_target_body_two2.bkl -------------------------------------------------------------------------------- /tests/test_parsing/target/simple.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/simple.ast -------------------------------------------------------------------------------- /tests/test_parsing/target/simple.bkl: -------------------------------------------------------------------------------- 1 | program hello {} 2 | -------------------------------------------------------------------------------- /tests/test_parsing/target/simple.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/simple.model -------------------------------------------------------------------------------- /tests/test_parsing/target/two.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/two.ast -------------------------------------------------------------------------------- /tests/test_parsing/target/two.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/two.bkl -------------------------------------------------------------------------------- /tests/test_parsing/target/two.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/two.model -------------------------------------------------------------------------------- /tests/test_parsing/target/two2.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/two2.ast -------------------------------------------------------------------------------- /tests/test_parsing/target/two2.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/two2.bkl -------------------------------------------------------------------------------- /tests/test_parsing/target/two2.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/two2.model -------------------------------------------------------------------------------- /tests/test_parsing/target/wrong_type.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/wrong_type.ast -------------------------------------------------------------------------------- /tests/test_parsing/target/wrong_type.bkl: -------------------------------------------------------------------------------- 1 | SillyTargetName foo {} 2 | -------------------------------------------------------------------------------- /tests/test_parsing/target/wrong_type.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/target/wrong_type.model -------------------------------------------------------------------------------- /tests/test_parsing/templates/template.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/templates/template.ast -------------------------------------------------------------------------------- /tests/test_parsing/templates/template.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/templates/template.bkl -------------------------------------------------------------------------------- /tests/test_parsing/templates/template.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/templates/template.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/append.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/append.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/append.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/append.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/append.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/append.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/append_nonexist.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/append_nonexist.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/append_nonexist.bkl: -------------------------------------------------------------------------------- 1 | made_up += foo; 2 | -------------------------------------------------------------------------------- /tests/test_parsing/vars/append_nonexist.model: -------------------------------------------------------------------------------- 1 | ERROR: 2 | vars/append_nonexist.bkl:1:0: unknown variable "made_up" 3 | -------------------------------------------------------------------------------- /tests/test_parsing/vars/append_nonlist.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/append_nonlist.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/append_nonlist.bkl: -------------------------------------------------------------------------------- 1 | program test { 2 | id += FOO; 3 | } 4 | -------------------------------------------------------------------------------- /tests/test_parsing/vars/append_nonlist.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/append_nonlist.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/bools.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/bools.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/bools.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/bools.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/bools.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/bools.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/changed_var.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/changed_var.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/changed_var.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/changed_var.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/changed_var.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/changed_var.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/concat.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/concat.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/concat.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/concat.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/concat.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/concat.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/input.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/input.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/input.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/input.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/input.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/input.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/multiline_bad.ast: -------------------------------------------------------------------------------- 1 | ERROR: 2 | vars/multiline_bad.bkl:2:6: no viable alternative at input 'two' 3 | 4 | -------------------------------------------------------------------------------- /tests/test_parsing/vars/multiline_bad.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/multiline_bad.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/multiline_good.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/multiline_good.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/multiline_good.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/multiline_good.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/multiline_good.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/multiline_good.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/quoted.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/quoted.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/quoted.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/quoted.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/quoted.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/quoted.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/reference.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/reference.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/reference.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/reference.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/reference.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/reference.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/scoped_assignment.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/scoped_assignment.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/scoped_assignment.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/scoped_assignment.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/scoped_assignment.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/scoped_assignment.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/scoped_assignment_bad1.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/scoped_assignment_bad1.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/scoped_assignment_bad1.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/scoped_assignment_bad1.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/scoped_assignment_bad1.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/scoped_assignment_bad1.model -------------------------------------------------------------------------------- /tests/test_parsing/vars/scoped_assignment_bad2.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/scoped_assignment_bad2.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/scoped_assignment_bad2.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/scoped_assignment_bad2.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/scoped_assignment_bad2.model: -------------------------------------------------------------------------------- 1 | ERROR: 2 | vars/scoped_assignment_bad2.bkl:5:4: "bar.c" not found in target "test" 3 | -------------------------------------------------------------------------------- /tests/test_parsing/vars/vars_on_target.ast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/vars_on_target.ast -------------------------------------------------------------------------------- /tests/test_parsing/vars/vars_on_target.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/vars_on_target.bkl -------------------------------------------------------------------------------- /tests/test_parsing/vars/vars_on_target.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/vars/vars_on_target.model -------------------------------------------------------------------------------- /tests/test_parsing/version_old.bkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_parsing/version_old.bkl -------------------------------------------------------------------------------- /tests/test_parsing/version_very_old.bkl: -------------------------------------------------------------------------------- 1 | 2 | requires 999.0; 3 | 4 | SomeNew [ unparseable-in-old-versions syntax ] #$%#$ 5 | -------------------------------------------------------------------------------- /tests/test_plumbing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vslavik/bakefile/HEAD/tests/test_plumbing.py --------------------------------------------------------------------------------