https://github.com/tkf/restarts.jl
https://github.com/tkf/restarts.jl
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tkf/restarts.jl
- Owner: tkf
- License: mit
- Created: 2021-09-06T05:32:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T05:32:35.000Z (over 4 years ago)
- Last Synced: 2025-03-27T20:20:00.600Z (10 months ago)
- Language: Julia
- Size: 3.91 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Restarts
Restarts.jl implements Common Lisp's
[*restarts*](https://gigamonkeys.com/book/beyond-exception-handling-conditions-and-restarts.html)
based on [ContextVariablesX.jl](https://github.com/tkf/ContextVariablesX.jl)
which provides a thread-safe API for setting contextual information within a
dynamic scope.
Restarts.jl is inspired by
[Condition Systems in an Exceptional Language - Chris Houser - YouTube](https://www.youtube.com/watch?v=zp0OEDcAro0)
which explains that conditions can be simulated by dynamically scoped variables.
See [`examples/logparsing.jl`](examples/logparsing.jl) for an example.