Skip to main content

code_lines

Function code_lines 

Source
pub fn code_lines(source: &str) -> usize
Expand description

A ZDeceptron source line that carries a program.

Swift counted “lines of application Jif”, and the repository’s examples are teaching files whose comments outnumber their code — hello.zd is twelve lines of which six are prose. Counting those would flatter the ratio by a factor of two, so they are excluded and the raw line count is reported next to it.