As of this commit, to change the configuration using Banana, we
need to make an HTTP POST request to `/banana` REST API. This API is
temporary and is likely to be changed later.
The implementation is done entirely in the `banana` module. Under this
module there are:
* `typeck` module contains the type checker,
* `grammar` module contains the parser and the AST and,
* `eval` module contains the interpreter.
Additionally, a test framework has been created to ease the test of
particular conditions of the language.
Within the banana module, there is a README.md file for each associated
sub-module explaining further the details of the language.
Once this commit is merged, there's still a lot that can be improved:
- All components should be tested in Banana.
- The 'deadpathck' pass could be improved (see TODO)
- We don't support generated JSON ingestors yet.
- Imports will be key for reusability (not implemented).
Change-Id: I1305bdfa0606f30619b31404afbe0acf111c029f
The raw_input() raises NameError: name 'raw_input' is not defined in
python3. This patch fixes it by replacing raw_input with input to make
PY3 compatible.
Change-Id: Ieb4c2e5c94fdeb2e69b070e363f92d5c8a736413
This patch fixes followings:
*two lines of Apache license in order to pass H103
*using homedir in PYTHONPATH
Co-Authored-By: Daisuke Fujita <fuzita.daisuke@jp.fujitsu.com>
Change-Id: I8fbe26ae8547879fdda0f840bfc5d582e0395588