-
Notifications
You must be signed in to change notification settings - Fork 171
Intial Implementation for SymbolicExpression ttype #1846
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
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
43bec5e
Added SymbolicSymbol as Intrinsic Function
anutosh491 6bdbdef
Supporting sympy imports for CPython
anutosh491 be0f715
Added some utilities and removed instantiate function
anutosh491 efdfed8
Initial code for supporting assignment and print statements
anutosh491 5d152b2
Merge branch 'main' into GSoC_PR1
anutosh491 3d19dbf
added verify_args for symbolicsymbol
anutosh491 5858009
Added verify_args function for symbolic symbol
anutosh491 d680912
Merge branch 'main' into GSoC_PR1
anutosh491 ab626c6
Add support in C backend for assignment, printing and addition operat…
anutosh491 53aaa99
Introduced symbolic constant pi
anutosh491 9010eba
Added support for symengine through the C backend
anutosh491 06d2087
Merge branch 'main' into GSoC_PR1
anutosh491 645fa7d
Removed changes related to the LLVM backend and removed warnings
anutosh491 fccbdde
Updated references
anutosh491 81c4dba
fixed failing test
anutosh491 2fc618b
Added a test file for testing basic assignment , addition and printin…
anutosh491 03bf3b7
Added compiler option for enabling symengine
anutosh491 9d06c76
Added support for import S from lpython
anutosh491 6ebe306
Added symengine to the environment
anutosh491 fd6811b
added sympy and symengine in environment
anutosh491 f1883c6
added sympy and symengine for supporting imports
anutosh491 fe749a2
Merge branch 'main' into GSoC_PR1
Thirumalai-Shaktivel 25dda82
Add CI for SymPy tests
Thirumalai-Shaktivel bd7e0d4
Install sympy in the CI
Thirumalai-Shaktivel 5ca07dd
Merge branch 'main' into GSoC_PR1
certik 3771cb1
Merge branch 'main' into GSoC_PR1
anutosh491 dab1ef8
Made minor changes in intrinsic_function_registry.h
anutosh491 c9aea0b
Merge branch 'main' into GSoC_PR1
anutosh491 c505610
Removed unneccessary additions
anutosh491 12ae807
Trying to fix failing tests
anutosh491 2f4fb86
Reverted back the change
anutosh491 f9324c6
added -Wl after -rpath
anutosh491 213ade0
remove sympy from Fast
anutosh491 4e99898
Introduced c_sym and cpython_sym backends
anutosh491 e232e5d
Replaced sympy with cpython_sym
anutosh491 6ae14ac
Merge branch 'main' into GSoC_PR1
certik 07e01e4
Fix typo and remove a task in CI
Thirumalai-Shaktivel 5976ec5
minor changes to optimize code
anutosh491 19f8075
edited verify_args function for SymbolicPi
anutosh491 9b763f9
Merge branch 'main' into GSoC_PR1
certik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from sympy import Symbol, pi | ||
from lpython import S | ||
|
||
def main0(): | ||
x: S = Symbol('x') | ||
y: S = Symbol('y') | ||
x = pi | ||
z: S = x + y | ||
print(z) | ||
|
||
main0() |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.