Python to FOCAL Compiler
|
10-06-2015, 07:55 PM
(This post was last modified: 10-06-2015 08:09 PM by Thomas Klemm.)
Post: #7
|
|||
|
|||
RE: Python to FOCAL Compiler
(10-06-2015 11:16 AM)Ángel Martin Wrote: Maybe I should start using Python, this is a good incentive... You can use Python in your browser if you don't have access to an installation: Python to FOCAL Compiler Just run the program and the function gcd will be translated. You can create your own functions either in the listing on the left (but then you have to run the program again) or then directly in the REPL in the right window. You can translate a function to FOCAL: Code: >>> translate(gcd.__code__) And then you can compare it with the disassembled byte-code: Code: >>> dis.dis(gcd) Of course you can also just use a function: Code: >>> gcd(91, 35) Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Python to FOCAL Compiler - Thomas Klemm - 10-05-2015, 10:58 PM
RE: Python to FOCAL Compiler - Sukiari - 10-06-2015, 03:36 AM
RE: Python to FOCAL Compiler - Massimo Gnerucci - 10-06-2015, 05:50 AM
RE: Python to FOCAL Compiler - Ángel Martin - 10-06-2015, 11:16 AM
RE: Python to FOCAL Compiler - Gerson W. Barbosa - 10-06-2015, 03:58 PM
RE: Python to FOCAL Compiler - Thomas Klemm - 10-06-2015, 07:11 PM
RE: Python to FOCAL Compiler - Gerson W. Barbosa - 10-06-2015, 08:19 PM
RE: Python to FOCAL Compiler - Thomas Klemm - 10-06-2015 07:55 PM
RE: Python to FOCAL Compiler - Thomas Klemm - 10-06-2015, 08:28 PM
RE: Python to FOCAL Compiler - Gerson W. Barbosa - 10-07-2015, 01:47 AM
RE: Python to FOCAL Compiler - Thomas Klemm - 10-07-2015, 04:34 AM
RE: Python to FOCAL Compiler - Massimo Gnerucci - 10-07-2015, 05:38 AM
Java to FOCAL Compiler - Thomas Klemm - 10-07-2015, 04:38 PM
|
User(s) browsing this thread: 5 Guest(s)