Make prose-unified Markup the only runtime: bold segments are executable, italic is return, params can be inferred from body/prose, with no v0.2 dual mode. Migrate lib and structure/keywords golds; gate on tests/markup-v03. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
328 B
Markdown
37 lines
328 B
Markdown
---
|
|
title: len str int
|
|
description: Built-in conversions and length
|
|
---
|
|
|
|
# main
|
|
|
|
**s = "hello"**
|
|
|
|
**n = > len `s`**
|
|
|
|
> print text=`n`
|
|
|
|
`xs` =
|
|
|
|
| item |
|
|
|------|
|
|
| a |
|
|
| b |
|
|
| c |
|
|
|
|
**m = > len `xs`**
|
|
|
|
> print text=`m`
|
|
|
|
**t = > str 42**
|
|
|
|
> print text=`t`
|
|
|
|
**i = > int `t`**
|
|
|
|
> print text=`i`
|
|
|
|
**j = > int True**
|
|
|
|
> print text=`j`
|