drracket
typed-racket
drracket | typed-racket | |
---|---|---|
4 | 5 | |
442 | 506 | |
0.7% | 1.4% | |
7.7 | 7.4 | |
8 days ago | 10 days ago | |
Racket | Racket | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
drracket
-
DrRacket 8.7 crashes to desktop on Windows...does anybody know how to prevent these?
I've filed a bug report on Github: https://github.com/racket/drracket/issues/596
-
Emacs-like editors written in Common Lisp
The original version of DrRacket was written in C, but it has been rewritten in Racket a long time ago. https://github.com/racket/drracket
I use a mix of DrRacket, WinEdt and Geany (with more color in the matched parenthesis).
- Racket->Rhombus: To Sexp or not to Sexp?
-
What language for an IDE
To be fair, I'm not exactly sure which parts of emacs are written in C, but all extensions which make it more than an editor (i.e. an IDE) are interpreted lisp. Still, I'm not convinced. Another example, DrRacket, the IDE for Racket is written entirely in Racket, and that's plenty fast as far as I can tell*. It's a bit slow to start up, but that's all Racket programs.
typed-racket
-
Experimenting with the new Typed Racket modes
Turns out, Shallow was slower than it needed to be for types of built-in math (+, *, ...). PR here: https://github.com/racket/typed-racket/pull/1316
- Racket->Rhombus: To Sexp or not to Sexp?
-
Coalton: How to Have Our (Typed) Cake and (Safely) Eat It Too, in Common Lisp
Last weekend, I put together a working sample for how to show multiple syntax errors from Racket macros. It works in DrRacket and racket-xp-mode. It's based on Typed Racket.
https://gist.github.com/srcreigh/f341b2adaa0fe37c241fdf15f37...
The well-documented Racket `raise-syntax-error` will let you display 1 syntax error at a time. It works by throwing an exception during macro expansion hence you only get 1 error in your IDE. That code lets you highlight 2+ errors.
Please build a type system in Racket! I would love to try it out.
Helpfully, the above sample code is an example of how to store compiler-level state. So next, just wrap all your base forms, add some type declaration syntax, type inference, etc.
I would love to have a language that can be used to define a customized type system in Racket.
Typed Racket is an incredible feat. Can you imagine adding an entire type system without writing a separate compiler? Using all the batteries included with your language?
However I don't like that Typed Racket enforces soundness with Runtime checks, I much prefer TypeScript style checking. I also have run into some pretty confusing messages ie [1]. Diversity is healthy, it'd be nice to have static typechecking systems to choose from for Racket.
[1] https://github.com/racket/typed-racket/issues/1021
-
Creating Languages in Racket (2011)
> I like how TS is unsound (has no runtime performance penalty for mixing untyped code), and is easily disabled via any if it's in the way.
This is already done. See https://github.com/racket/typed-racket/pull/952 for RFC and https://github.com/racket/typed-racket/pull/948 for the implementation.
What are some alternatives?
generic-cl - Generic function interface to standard Common Lisp functions
iracket - Jupyter kernel for Racket
racket-lang-org
racketscript - Racket to JavaScript Compiler
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
mlton - The MLton repository
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
frog - Frog is a static blog generator implemented in Racket, targeting Bootstrap and able to use Pygments.
vscode-ripgrep - For consuming the ripgrep binary from microsoft/ripgrep-prebuilt in a Node project
sham - A DSL for runtime code generation in racket
cl-lsp - An implementation of the Language Server Protocol for Common Lisp
algol60