Skip to content
Sline

Sline AST Explorer

Beta
📝Input
🌳Abstract Syntax Tree (AST)Waiting for input...
Waiting for Sline template code to parse...

Explore Sline template structure

Paste a Sline template into the input and select Parse Sline, or press Ctrl/Cmd + Enter. The browser parser displays a JSON abstract syntax tree so you can inspect expressions, conditions, loops, and component calls. Parsing happens in your browser.

Try a small example

{{#if product.available}}
  {{ product.title | escape() }}
{{/if}}

Paste this snippet and inspect how the conditional and filtered output appear in the tree. Use Clear All to start another example.

Limits and next steps

This tool inspects template syntax. It does not render a storefront, fetch store data, or verify that object properties and filters are available in the current SHOPLINE runtime. Confirm behavior with official references and a theme preview.

New to the language? Read Sline basics (Chinese) and the syntax comparison (Chinese). For theme modules, continue with OS 3.0 Sections; for development documentation search, see SHOPLINE Dev MCP.