Blog

The prototype answers its first request

2 min read

After a year and a half of notes, Quillo runs. A tree-walking interpreter in Rust reads a .qwe file and serves its routes.

The plan at the end of last year was modest: an interpreter that reads a .qwe file and answers the web. It does that now.

route GET / = <h1>Hello from Quillo</h1>route GET /hello/:name = <p>Hello, {name}</p>
quillo run main.qwe

The file is parsed, its routes are matched against each request, and the view's markup is rendered to HTML, escaped, and sent back. Small, but every part of the pipeline is real.

What is in it

What is not, yet

Components in the browser, live data, the checker and the database client are designs, not code. They come next, in roughly that order of risk: the hardest to get right first.

The first surprise

Writing real programs in it, even small ones, shows things the notes did not. Some syntax reads well on paper and badly in a file of five hundred lines. The interpreter makes those cheap to change, which is the reason it came first.

Since then: the prototype grew into Quillo 0.5, with components that resume in the browser, the checker, live data and a language server. See Install.

The Quillo newsletterNew posts, components and plugins, about once a week. No tracking.

Thread
7Useful? Like it, or add to its thread below.

Thread 0 posts

On The prototype answers its first request: questions, tips, corrections, and code that uses it.

No posts yet. The first one opens the thread.