Recent posts tagged scrml

Level UI • 1 day • in Articles • 9 min read
Somewhere in the last year, "do we need an MCP server?" joined the list of questions that arrive in a brief before anyone has said what the thing is for. It is usually framed as MCP vs API, as though the Model Context Protocol were a newer kind of AP...
post-cover-33074
  • ai
  • api
  • webdev
  • security
Bryan MacLeeverified • 17 hours • in Articles • 4 min read
DHH said that typescript is pure "type masterbation". And though I agree with his premise, It is a fixable problem. And I say we use the type system to do just that. There is a familiar complaint about TypeScript: too much of the code is types talki...
  • scrml
  • typescript
  • server
  • fajitas
Bryan MacLeeverified • 3 days • in Articles • 5 min read
How scrml lets an author write bold instead of , and why nothing inside an block can ever run. Where this came from It started with a security review, not a feature request. scrml treats the bodies of and as raw content, and until this week the c...
post-cover-32735
  • scrml
  • markdown
  • fajitas
Bryan MacLeeverified • Oct 20 • in Articles • 1 min read
When converting a value of one type to another; There are conversions which never fail ie int -> string. Some that can fail like string -> int, and then some lossy and implicit ones number -> int, int -> number How do we spell it in any of those si...
  • type-conversion
  • scrml
  • sanity
  • fajitas
Bryan MacLeeverified • Oct 14 • in Articles • 5 min read
Let It Leak Purity Stop hating on functions. They can't help what color they are; they were born that way. You ought to know. You made them. We all hate leaky abstractions. But if an abstraction is going to leak, I say let it leak purity. That's ...
post-cover-31094
  • functions
  • scrml
  • abstractions
  • fajitas
Bryan MacLeeverified • Oct 10 • in Articles • 2 min read
One of the ideas in the scrml compiler that I am excited about, is something I call "BlockLease." Safe parallelism in agentic code work forces concurrency to be locked to files. Two agents editing the same file just leads to re-creating every atomi...
post-cover-30640
  • agents
  • scrml
  • parallelism
  • fajitas
James Dayalverified • Oct 4 • in Dev Stories • 11 min read
📝 DEV STORY
Featuring:Bryan MacLeeBryan MacLeeverified•Creator of scrml, an Open-Source Programming Language for the Web
> Real developers. Real journeys. Real ideas. > > Bryan MacLeehttps://coderlegion.com/user/Bryan+MacLee is a truck driver specialising in the oil and gas industry, but programming is much more than a hobby for him. Driven by a deep love of JavaScript...
post-cover-29769
  • devjourney
  • scrml
  • compiler
Bryan MacLeeverified • Sep 29 • in Articles • 3 min read
The array/tuple question was never meant to be a long running thing. And as it often happens, the solution was right there in front of me the whole time. Arrays are intuitive, fast, and let you do basically anything. Therein lies the problem with th...
post-cover-29090
  • scrml
  • arrays
  • data-structures
  • fajitas
Bryan MacLeeverified • Sep 23 • in Articles • 2 min read
When developers look at a new programming language, they usually test it by running the compiler. That makes sense, since the compiler is the only part you can actually run. But it hides a distinction that matters a lot for an early stage language: t...
post-cover-28387
  • scrml
  • fajitas
Bryan MacLeeverified • Sep 15 • in Articles • 2 min read
I am Jack's . Without me, Jack's application has values without a place. Jack declares me once. I am a singleton. Every part of his program that reads my cell is reading the same me. ${ type Order:enum = { Cart, Paying, Paid, Shipped, Refunded...
post-cover-27290
  • state-management
  • javascript
  • scrml
  • fajitas
Bryan MacLeeverified • Sep 12 • in Articles • 2 min read
To whom it may concern, The articles that I publish. The smack talking that I engage in, here or on X more likely. That is all an attempt at engaging anyone, with an opinion and the junk to back it, in a conversation about what programming should lo...
post-cover-27013
  • programming
  • webdev
  • scrml
  • fajitas
Bryan MacLeeverified • Sep 8 • in Articles • 2 min read
I am Jack's match. I am the question Jack asks about a value that could be more than one thing. He has an order. It is exactly one of five things, and he wrote the list himself. type Order:enum = { Cart, Paying, Paid, Shipped, Refunded } There...
post-cover-26496
  • scrml
  • webdev
  • javascript
  • fajitas
Bryan MacLeeverified • Sep 8 • in Articles • 3 min read
I am Jack's . Jack declares me once, in one file, for the whole application. Everything he writes lives inside me — his markup, his logic, his styles, his database. There is a line running through me. On one side is Jack's server. On the other is a...
post-cover-26455
  • scrml
  • webdev
  • javascript
  • fajitas
Bryan MacLeeverified • Aug 31 • in Articles • 2 min read
If you give a dev an enum, they're going to ask if they can match on it. When you let them match on it, they'll want to know they got it all. So the compiler counts. And it finds one. It says E-MATCH-NOT-EXHAUSTIVE, and it names the variant: .Empt...
post-cover-25933
  • javascript
  • webdev
  • scrml
  • fajitas
Bryan MacLeeverified • Aug 26 • in Tutorials • 1 min read
When I started designing this language, I had a lot of fundamental decisions to make. Among those, one of the easiest was whether or not to allow virtual functions in scrml structs. If I had chosen to include virtual functions; I would have just cal...
  • scrml
  • structs
  • programming
  • fajitas
Bryan MacLeeverified • Aug 26 • in Articles • 1 min read
I am not exactly sure when this language really started to become writable. I imagine I am one of the few, if not the only guy to build a legitimately usable programming language without ever really having written it. Don't get me wrong. I have writ...
  • scrml
  • confession
  • apology
  • fajitas
To see more, click for the full list of posts or popular tags.
chevron_left
🔥 15 posts • 👩‍💻 2 active writers

✨ Want to write in this topic?
Share your learning. Get discovered. Build your profile.
Join CoderLegion

💡 Why developers use CoderLegion
Track learning • Share posts • Get ranked publicly
Create your profile