// Bry chooses the route and renders the document. ::2.+8.++5.+6.1.7.5(@1#3,@2#3)#3 [ @3 := "" @4 := "" ?(@1 == "/")[ @4 := "Bry Web" @3 := "
01 / LANGUAGE IN PRACTICE
" + ::2.+8.++5.++.5.++4.++("h1","A website written in Bry.") + ::2.+8.++5.++.5.++4.++("p","Original symbolic source. Real HTML, rendered on the server. No browser JavaScript required.") + "
" + ::2.+8.++5.+2.9.+4.+1("/hello","Try a dynamic page") + ::2.+8.++5.+2.9.+4.+1("/site.bry","Read the Bry source") + "
01 / INPUT@2.+8.++5

Symbolic identifiers

02 / EXECUTION::2.+8.++5

Typed Bry functions

03 / OUTPUT<html>

Browser document

" + ::2.+8.++5.++.5.++4.++("h2","The language is the application.") + ::2.+8.++5.++.5.++4.++("p","Bry assembles this page. Cloudflare transports the HTTP response.") + "
" ]:[ ?(@1 == "/about")[ @4 := "About Bry Web" @3 := "
02 / ARCHITECTURE
" + ::2.+8.++5.++.5.++4.++("h1","From symbols to a website.") + ::2.+8.++5.++.5.++4.++("p","The original Bry alphabet is used in the web library and page renderer.") + "
" + ::2.+8.++5.++.5.++4.++("h2","What runs where") + ::2.+8.++5.++.5.++4.++("p","Bry handles route selection, HTML composition and escaped text. The host handles HTTP and CSS delivery.") + ::2.+8.++5.+2.9.+4.+1("/web.bry","Component library") + " " + ::2.+8.++5.+2.9.+4.+1("/verify","Validation") + "
" ]:[ ?(@1 == "/hello")[ @4 := "Try Bry Web" @3 := "
03 / REQUEST-DRIVEN RENDERING
" + ::2.+8.++5.++.5.++4.++("h1","Hello, " + @2 + ".") + ::2.+8.++5.++.5.++4.++("p","The greeting is rendered by a Bry function. Your input is escaped before entering the page.") + "
" + ::2.+8.++5.++.5.++4.++("h2","POST request. New document.") + ::2.+8.++5.++.5.++4.++("p","Submit the POST form to run typed Bry request and response logic.") + "
" ]:[ @4 := "Not found" @3 := "
404 / NOT FOUND
" + ::2.+8.++5.++.5.++4.++("h1","This route does not exist.") + ::2.+8.++5.+2.9.+4.+1("/","Return home") + "
" ] ] ] < ::2.+8.++5.4.+5.3(@4,@3) ]