Skip to content

Merging new main code into integration #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Dec 11, 2022
Merged

Conversation

juliawgraham
Copy link
Collaborator

Updating integration branch with main changes

0xflotus and others added 28 commits November 21, 2022 08:53
* Impl function expander

* Fix error message

* fix flake8 errors

* file doc

* Suggestions

* Fix docstring

* Fix docstring

* rename test methods

* slight rephrasing

* rm local var

* Reformat import

* suggestions

Co-authored-by: Zibing Zhang <[email protected]>
* [add] configuration

* [fix] variable name error

* Apply suggestions from code review

Co-authored-by: Yusuke Oda <[email protected]>

* [doc] method docstring

* [fix] fplake8 E501 line too long

* Apply suggestions from code review

Co-authored-by: Yusuke Oda <[email protected]>

* [fix] documentation

* [fix] direct import

* lint

Co-authored-by: Yusuke Oda <[email protected]>
Co-authored-by: Yusuke Oda <[email protected]>
…#131)

* keyword ast args

* value -> n

Co-authored-by: Zibing Zhang <[email protected]>
* docs(README.md): add nice badges to doc

* docs(README.md): add python version badge

* Update README.md

Co-authored-by: Yusuke Oda <[email protected]>

Co-authored-by: Yusuke Oda <[email protected]>
* all single arg fns in math

* two argument fns

* nested testing

* tests

* shorten line

* suggestions

* import

* recursive case already handled

Co-authored-by: Zibing Zhang <[email protected]>
* prefix trimmer

* add test

* add frontend flags
* fix

* remove use_raw_function_name, apply IdentifierConverter to all identifiers

* docstring

* remove final
* Add basic matrix support

* Fix generation function

* Fix formatting and minor issues

* Fix tests

* refactor

* fix

Co-authored-by: Kshitij Sharma <[email protected]>
* Add basic matrix support

* Fix generation function

* Fix formatting and minor issues

* Fix tests

* refactor

* fix

* add ast_utils.parse_expr

Co-authored-by: Kshitij Sharma <[email protected]>
* Add basic matrix support

* Fix generation function

* Fix formatting and minor issues

* Fix tests

* refactor

* fix

* add ast_utils.parse_expr

* refactor

Co-authored-by: Kshitij Sharma <[email protected]>
* refactoring

* add test

* fix 3.7 bugs
* revert BuiltinFnName

* fix
* add mypy

* revert BuiltinFnName

* fix

* fix

* fix

* fix
* modified files

* minor style fix

* refactoring

Co-authored-by: hjiawei <[email protected]>
Co-authored-by: odashi <[email protected]>
* wrote a basic test that calls visit_Match

* added extra space to publish branch

* implementation for MatchValue

* merged match_case into Match (with juliawgraham)

* 1. removed unused i; 2. added error handling for multiple statements in Match node; 3. added corresponding unit tests

Co-authored-by: Lucybean-hi <[email protected]>
Co-authored-by: juliawgraham <[email protected]>
Co-authored-by: Erica Fu <[email protected]>

* Removed unused _reduce_stop_parameter function

Co-authored-by: Yuqi <[email protected]>
Co-authored-by: Erica Fu <[email protected]>

* updated unit test syntax

* updated formatting using flake

* updated unit test formatting after flake changes

* reformatted files using black

* refactoring

Co-authored-by: juliawgraham <[email protected]>
Co-authored-by: Yuqi Gong <[email protected]>
Co-authored-by: Lucybean-hi <[email protected]>
Co-authored-by: juliawgraham <[email protected]>
Co-authored-by: Erica Fu <[email protected]>
Co-authored-by: juliawgraham <[email protected]>
Co-authored-by: Yuqi <[email protected]>
Co-authored-by: odashi <[email protected]>
* wrote a basic test that calls visit_Match

* added extra space to publish branch

* implementation for MatchValue

* partial implementation for MatchAs, only implemented for the wildcard case

* changed test names for matchas tests

* 1. removed unused i; 2. added error handling for multiple statements in Match node; 3. added corresponding unit tests

Co-authored-by: Lucybean-hi <[email protected]>
Co-authored-by: juliawgraham <[email protected]>
Co-authored-by: Erica Fu <[email protected]>

* updated syntax according to flake

* updated syntax so both flake and unit tests pass

* ran black reformatter

* require python 3.10 or higher for all match tests

* fix

* refactoring

* refactoring

* refactoring

Co-authored-by: juliawgraham <[email protected]>
Co-authored-by: Yuqi Gong <[email protected]>
Co-authored-by: Lucybean-hi <[email protected]>
Co-authored-by: juliawgraham <[email protected]>
Co-authored-by: Erica Fu <[email protected]>
Co-authored-by: Yuqi <[email protected]>
Co-authored-by: odashi <[email protected]>
* please work

* moved back

* same trick

* move back

* factor expr codegen out

* add visit_, remove expr tests from func

* suggestiosn

* codegen test

* using generic visit

* extract method

* only stmt codegen

* reduce stop param

* fix compatability issues

* abc

* Visit an XYZ node.

* standard test method names

* suggestions

Co-authored-by: Zibing Zhang <[email protected]>
* modified files

* minor style fix

* refactoring

Co-authored-by: hjiawei <[email protected]>
Co-authored-by: odashi <[email protected]>
Co-authored-by: Jiawei Hao <[email protected]>
Co-authored-by: Zibing Zhang <[email protected]>
* init alg

* comments and annotations

* fix indentation

* tests, procedure

* forgot one

* expose Style, tests

* bug

* rm visit_Expr from expr_codegen

* rm line

* inline some code

* specify codegen

* too long

* suggestions

* rm todo

Co-authored-by: Zibing Zhang <[email protected]>
* move

* move

* move

* move

* fix

* add test

* move

* fix

* tree -> node

* fix
Merging in new commits made one latexify main branch
@juliawgraham juliawgraham merged commit 3b78dd7 into integration Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants