Retoor software development Projects Research SearchXNG
Register Sign In

13 lines
320 B
JavaScript
Raw Normal View History

feat: add async/await keywords, Num/String extensions, and Jinja markdown example Add `async` and `await` token support to the Wren compiler with scheduler resolution logic, extend `Num` with `e` constant, hyperbolic trig, base conversion, and new methods (`isZero`, `gcd`, `lcm`, `digits`, etc.), extend `String` with `lower`, `upper`, `capitalize`, `title`, and regenerate `wren_core.wren.inc`. Include `Makefile` for multi-platform builds, rewrite `README.md` with updated build instructions, and add `example/await_demo.wren` and `example/jinja_markdown.wren` demonstrating new features.
2026-01-25 04:58:39 +01:00
// retoor <retoor@molodetz.nl>
import "pathlib" for Path
var cwd = Path.cwd
System.print(cwd.isAbsolute) // expect: true
System.print(cwd.exists()) // expect: true
System.print(cwd.isDir()) // expect: true
var home = Path.home
System.print(home.isAbsolute) // expect: true
System.print(home.exists()) // expect: true
Reference in New Issue Copy Permalink
eadfc8e9cb
wren/test/pathlib/cwd_home.wren
Response time: 44ms
Mail Licenses API