uxn-tal 0.7.3

uxntal:// protocol | a Rust library for assembling TAL (Tal Assembly Language) files into UXN ROM files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Enhanced ProtocolParser that includes git support
use uxn_tal_defined::v1::ProtocolParseResult;

pub struct ProtocolParser;

impl ProtocolParser {
    /// Parse a uxntal protocol URL with automatic git URL enhancement
    /// This shadows the base ProtocolParser::parse to provide git support automatically
    pub fn parse(raw_url: &str) -> ProtocolParseResult {
        crate::parse_uxntal_url(raw_url)
    }

    /// Render a ProtocolParseResult back into a uxntal URL
    /// This exposes the render_url functionality from uxn_tal_defined
    pub fn render_url(result: &ProtocolParseResult) -> String {
        uxn_tal_defined::v1::ProtocolParser::render_url(result)
    }
}