b2
b² is a jinja-inspired template engine which uses LLVM to generate native code
File Explorer
- FindLLVM.cmake
- FindPHP.cmake
- CMakeLists.txt
- coalesce_rawblocks_pass.cpp
- coalesce_rawblocks_pass.hpp
- convert_literal_printblock_to_rawblock_pass.cpp
- convert_literal_printblock_to_rawblock_pass.hpp
- fold_constant_expressions_pass.cpp
- fold_constant_expressions_pass.hpp
- pass.hpp
- pass_manager.cpp
- pass_manager.hpp
- resolve_includes_pass.cpp
- resolve_includes_pass.hpp
- ast.hpp
- CMakeLists.txt
- expressions.hpp
- visitors.hpp
- CMakeLists.txt
- code_emitter.hpp
- javascript_visitor.cpp
- javascript_visitor.hpp
- CMakeLists.txt
- llvm_backend.cpp
- llvm_backend.hpp
- llvm_bindings.h
- llvm_visitor.cpp
- llvm_visitor.hpp
- CMakeLists.txt
- CMakeLists.txt
- parser.cpp
- parser.hpp
- syntax.hpp
- syntax.l
- syntax.y
- CMakeLists.txt
- print_visitor.cpp
- print_visitor.hpp
- CMakeLists.txt
- utils.hpp
- CMakeLists.txt
- print.cpp
- CMakeLists.txt
- compiler.cpp
- CMakeLists.txt
- php_b2.cpp
- php_bindings.cpp
- php_bindings.hpp
- php_bindings_functions.c
- php_template.h
- CMakeLists.txt
- simple_bindings.cpp
- simple_bindings.hpp
- simple_bindings_functions.c
- simple_variant.h
- CMakeLists.txt
- blocks.test
- undefined_check.test
- blocks.test
- constant_folding_pass.test
- division_by_zero.test
- empty_file.test
- include_non_existing_file.test
- literal_print_to_raw_conversion_pass.test
- modulo_by_zero.test
- resolve_includes_pass.test
- simple_expressions.test
- single_raw_block.test
- specials.test
- blocks.test
- engine_refcount.test
- foo.test
- method_calls.test
- nullterminate.test
- simple_expressions.test
- runner.py
- bin2c.c
- CMakeLists.txt
- .gitignore
- .travis.helper.sh
- .travis.yml
- CMakeLists.txt
- LICENSE
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
brew install
View Details ▼
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
cmake
View Details ▼
cmake
Cross-platform build automation system, that generates recipes for native build systems.
cmake {{path/to/project_directory}}
Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory:
cmake --build {{path/to/build_directory}}
Use a generated recipe in a given directory to build artifacts:
cmake --install {{path/to/build_directory}} --strip
Install the build artifacts into `/usr/local/` and strip debugging symbols:
apt-get
View Details ▼
apt-get
Debian and Ubuntu package management utility.
Search for packages using `apt-cache`.
It is recommended to use `apt` when used interactively in Ubuntu versions 16.04 and later.
sudo apt-get update
Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):
sudo apt-get install {{package}}
Install a package, or update it to the latest available version:
sudo apt-get remove {{package}}
Remove a package:
