-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge changes in to support parsing bash scripts (#737)
* starting to integrate bash into pash * [untested] add bash expansion for bash parser * outline for ast_to_ast updates * ast_to_ast updates complete but untested * some testing on ast_to_ast changes * outline for ast_to_ir * some work on ast_to_ir * fixed bash mode not propogating to JIT engine * update requirements for actions tests * minor bug fixes and new bash testing script * make changes to test scripts to support bash * some work on the bash testing * Add bash tests * start work on benchmarking * updates to the bash benchmark routine * bug fixed with echo ast, crazy bash speed ups now * getting ready to run evaluations * bug fix to attain more speedups * add another benchmark script * nlp test suite * bash evaluation script * Fix: python 3.8 compat Signed-off-by: Bolun Thompson <[email protected]> * Split up big function Signed-off-by: Bolun Thompson <[email protected]> * Fix tmpdir in tests Signed-off-by: Bolun Thompson <[email protected]> * Add 'encoding="utf-8"' to open calls for writing The bash tests contain scripts which use UTF-8 only characters, but, by default, Python throws an exception when writing non-ASCII characters to a file. Signed-off-by: Bolun Thompson <[email protected]> * Lint: black bash changes Signed-off-by: Bolun Thompson <[email protected]> * Add comments Signed-off-by: Bolun Thompson <[email protected]> * Update shasta version Signed-off-by: Bolun Thompson <[email protected]> * Update libbash version Signed-off-by: Bolun Thompson <[email protected]> * Fix version specifier in requirements * Rerun CI * Run bash and dash tests together Also changes it so that only the bash tests only run in bash mode, which I feel is fair since they test bash only features * Fix typo * Fix accidential merge removal * Add bash server expansion from sh_expand * Add bash evaluation tests to skip * Minor test fix * Remove failing bash evaluation tests Due to the prescence of a '*' character in the sed/grep regex string which is correctly interpreted as a glob conservatively. * Remove test that fails only in CI * Add bash docs for the new `--bash` flag Signed-off-by: Bolun Thompson <[email protected]> * doc edits Signed-off-by: Bolun Thompson <[email protected]> * Add bash intro test Signed-off-by: Bolun Thompson <[email protected]> * Update annotations version * Fix syntax warning --------- Signed-off-by: Bolun Thompson <[email protected]> Co-authored-by: sethsabar <[email protected]>
- Loading branch information
1 parent
664b132
commit 723cd26
Showing
698 changed files
with
49,666 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.