İçeriğe geç
LexerLangv0.1.0
v0.1.0

At, çalıştır.

Sunucuda çalışan, derlenmeyen bir dil. lexer serve kaynağı okur, ayrıştırır ve doğrudan çalıştırır.

macOS · Linux
curl -fsSL https://lexer.gurerlabs.com/install.sh | sh

Derleme adımı yok

build ve run komutları bilerek yok. lexer serve kaynağı okur, ayrıştırır ve doğrudan çalıştırır; --watch ile dosyayı her kaydedişinizde sunucu nazikçe kapanıp yeniden kalkar.

LexerLang
package merhaba

use http_server, html_document

$app = new http_server
$doc = new html_document

$doc.title = 'Merhaba'
$doc.body.add(`<p>Merhaba Dünya</p>`)

with $app
    .document.add($doc)
    .listen({port: 3000})
end with
Terminal
lexer serve merhaba.lexer --watch