Skip to content

Commit

Permalink
Add a not-yet-working Japanese/unicode demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
booniepepper committed Jul 7, 2023
1 parent 2399b4c commit e20a463
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions demos/世界を挨拶.dt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env dt

# Not working yet... We'll need unicode support!
# Must split on \u{3000}, and handle glyphs well. Maybe just use Zigstr once it supports Zig 0.11

\def \です def!
\do \を です
\pl \言って です
\get-line \聴いて です

[["よろしくね、" 名前 "。"] を 言って] \挨拶 です

"お名前は? " 言って 聴いて \名前 です

\挨拶 を

0 comments on commit e20a463

Please sign in to comment.