tonyg / racket-reloadable Goto Github PK
View Code? Open in Web Editor NEWSupport for code-reloading for long-running racket programs (such as web-servers).
License: Other
Support for code-reloading for long-running racket programs (such as web-servers).
License: Other
(Suggestion from @jeapostrophe) I think that you don't want to try to enforce this too much because you don't want to prevent people from moving the state to a different module. Maybe you could detect within one load cycle whether the same name is used twice.
(Suggestion from @jeapostrophe) Make a protocol with the application for saying that if file X changes then call function Y to read the data into the application. You could make this blend in with make-persistent-state by giving the name of the file and a reading function.
(Suggestion from @jeapostrophe) You should support an argument for encoding and decoding. The old code will encode the value into something that the new code will decode. This will allow non-prefab values. You should make sensible defaults easy like write/read and using serialize.
Hi ,
Please add the racket topic to this repo - I think others will be interested and this will help them find it at https://github.com/topics/racket
https://help.github.com/en/articles/classifying-your-repository-with-topics
Kind regards,
Stephen
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.