bennorth / pytch Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
The automatically added threading statements currently have no line numbers, because they don't correspond to anything in the source code. It would be better if they had some information like "near line xx". This should be possible because the contents of the lineno and column offset values are just passed through directly (if they are strings they need to be quoted)
Upload a holding page on Pytch.org
User accounts for Glenn & Ben on Pytch.org with ssh/sftp access to upload files.
Instead of detecting the pitch import directly we could add a new future import. The compiler needs to recognise it, but it has the advantages of being somewhat standard behaviour, and has the compiler reset the use fo threading on a per-module basis.
Pytch programs yield their thread at the end of While and For loop bodies. we should also yield in a few other places:
Consider reaching out the the Skulpt team (after August announcement of Pytch, perhaps)
We need a document listing Scratch features implemented, partially implemented, and not yet implemented (ideally with some prioritisation of the unimplemented features).
A UI wrapper that allows us to publish a sandbox for running Pytch programs
This probably has to wait for Python 3 support in Skulpt, but we could auto-register sprites using class decorators to call pitch.register_sprite_class()
This program:
import pytch
print("hello")
pytch.wait_seconds(1)
print("Never get here")
fails with the error
SuspensionError: Unhandled non-optional suspension of type 'Pytch' at
The culprit is the wait_seconds call, which works as expected when used in a Sprite script.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.