Skip to content
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

Dart lang support #167

Merged
merged 16 commits into from
Feb 24, 2020
Merged

Dart lang support #167

merged 16 commits into from
Feb 24, 2020

Conversation

MattConflitti
Copy link
Contributor

@MattConflitti MattConflitti commented Feb 15, 2020

Issue of tanh function is still there. There is currently a unit test that expects the use of tanh to throw an error.

Edit: tanh issue is fixed thanks to guidance from @StrikerRUS

@coveralls
Copy link

coveralls commented Feb 15, 2020

Coverage Status

Coverage increased (+0.05%) to 95.858% when pulling dfba59d on MattConflitti:master into 3086e9a on BayesWitnesses:master.

Copy link
Member

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MattConflitti Great contribution! And extremely prompt, BTW 😄 . Please check my comments below.

README.md Outdated Show resolved Hide resolved
m2cgen/__init__.py Outdated Show resolved Hide resolved
m2cgen/__init__.py Outdated Show resolved Hide resolved
m2cgen/cli.py Outdated Show resolved Hide resolved
m2cgen/interpreters/__init__.py Outdated Show resolved Hide resolved
m2cgen/interpreters/dart/code_generator.py Outdated Show resolved Hide resolved
m2cgen/interpreters/dart/tanh.dart Outdated Show resolved Hide resolved
m2cgen/exporters.py Outdated Show resolved Hide resolved
@izeigerman
Copy link
Member

@MattConflitti thank you so much for this PR 🥇 💪

.travis/setup.sh Outdated Show resolved Hide resolved
m2cgen/exporters.py Outdated Show resolved Hide resolved
@MattConflitti
Copy link
Contributor Author

MattConflitti commented Feb 20, 2020 via email

Copy link
Member

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MattConflitti Please resolve a merging conflict and add function_name argument to the Dart interpreter which was introduced recently in #166.

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
tests/interpreters/test_dart.py Show resolved Hide resolved
Copy link
Member

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MattConflitti Thanks a lot for the awesome job! LGTM!

@MattConflitti
Copy link
Contributor Author

@StrikerRUS @izeigerman Thank you for your help and maintaining this repo!

Copy link
Member

@izeigerman izeigerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MattConflitti great job, thank you 🥇

@izeigerman izeigerman merged commit 3c431f2 into BayesWitnesses:master Feb 24, 2020
@StrikerRUS
Copy link
Member

@MattConflitti Can you please generate code examples for Dart in a follow-up PR?
Add Dart here

EXAMPLE_LANGUAGES = [
("python", m2c.export_to_python, "py"),
("java", m2c.export_to_java, "java"),
("c", m2c.export_to_c, "c"),
("go", m2c.export_to_go, "go"),
("javascript", m2c.export_to_javascript, "js"),
("visual_basic", m2c.export_to_visual_basic, "vb"),
("c_sharp", m2c.export_to_c_sharp, "cs"),
("powershell", m2c.export_to_powershell, "ps1"),
("r", m2c.export_to_r, "r"),
("php", m2c.export_to_php, "php"),
]

and run the following comand
$(DOCKER_RUN_ARGS) bash -c "python3 setup.py develop && python3 tools/generate_code_examples.py generated_code_examples"

@MattConflitti
Copy link
Contributor Author

MattConflitti commented Feb 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants