mirror of
https://github.com/pantor/inja.git
synced 2026-04-04 15:18:53 +00:00
Rewarite core with an AST for statements and RPN for expressions (#149)
* test * improve ast * add if statement * shunting-yard start * renderer as node visitor * improve ast * improve ast further * first functions * improve ast v3 * improve ast v4 * fix parser error location * nested ifs * fix comma, activate more tests * fix line statements * fix some more tests * fix callbacks without arguments * add json literal array and object * use switch in expression * fix default function * fix loop data * improved tests and benchmark * fix minus numbers * improve all * fix warnings, optimizations * fix callbacks argument order * dont move loop parent * a few more test * fix clang-3 * fix pointers * clean * update single include
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
#!/bin/bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
SOURCE_ROOT=$(dirname "${DIR}")
|
||||
|
||||
echo "Move to Source Root: ${SOURCE_ROOT}"
|
||||
cd ${SOURCE_ROOT}
|
||||
cd $(dirname "${DIR}")
|
||||
|
||||
python3 third_party/amalgamate/amalgamate.py -c scripts/amalgamate_config.json -s include -v yes
|
||||
|
||||
Reference in New Issue
Block a user