📄 wc.idel
字号:
def 0 1 main 0 0 0 out { lines words chars -- lines u. '\t' emit words u. '\t' emit chars u. '\n' emit } 0 ;#include "udot.idel"#define c_isspace c ' ' = c '\t' = ordef 3 3 out \ Called when currently outside a word absorb { lines words chars c -- c 0 < if lines words chars else c 10 = if lines 1 + words chars 1 + out else c_isspace if lines words chars 1 + out else lines words 1 + chars 1 + in then then then } ;def 3 3 in \ Called when currently inside a word absorb { lines words chars c -- c 0 < if lines words chars else c 10 = if lines 1 + words chars 1 + out else c_isspace if lines words chars 1 + out else lines words chars 1 + in then then then } ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -