Message Boards Message Boards

GROUPS:

Convert simple Python code to Wolfram language?

Posted 1 month ago
545 Views
|
4 Replies
|
3 Total Likes
|

There is a way to convert Python to Lisp. Peter Norvig talked about it. https://norvig.com/lispy2.html

4 Replies

Should I assume that you already know about ExternalEvaluate [1] and Wolfram Client Library for Python [2][3][4][5] and you still want to convert? If so, I guess you will have to write your own interpreter.

Posted 13 days ago

Interesting but with Python 3.8.1 and Mathematica 12.0 only one line of input works.enter image description here

Posted 1 month ago

Yah, I need to write my own interpreter. Is it hard? Any hint?

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract