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

... in python code aborts compilation #864

Open
L1nkus opened this issue Oct 11, 2023 · 1 comment
Open

... in python code aborts compilation #864

L1nkus opened this issue Oct 11, 2023 · 1 comment

Comments

@L1nkus
Copy link

L1nkus commented Oct 11, 2023

$> transcrypt -b -n -m transcrypttest.py 

Transcrypt (TM) Python to JavaScript Small Sane Subset Transpiler Version 3.9.0
Copyright (C) Geatec Engineering. License: Apache 2.0


Saving target code in: /home/linkus/trading/__target__/org.transcrypt.__runtime__.js

Error while compiling (offending file last):
	File 'transcrypttest', line 43, namely:
	
	Error while compiling (offending file last):
	File 'transcrypttest', line 43, namely:
	

Aborted

removing ... fixes

@JennaSys
Copy link
Collaborator

Can you show an example of the actual Python code your were trying to transpile?

In general, the Python code has to be syntactically correct Python since it is processed by the Python AST module when being converted to JavaScript.

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

No branches or pull requests

2 participants