webfluent 0.4.0-alpha

The Web-First Language — compiles to HTML, CSS, JavaScript, and PDF. 50+ built-in components, reactivity, routing, i18n, SSG, and template engine.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Lexical analysis for WebFluent source code.
//!
//! Converts `.wf` source text into a stream of [`Token`]s, handling keywords,
//! identifiers, string literals (with `{var}` interpolation), numbers, and operators.

pub mod token;
pub mod lexer;

pub use token::{Token, TokenType};
pub use lexer::Lexer;