Add sloc recipe
This commit is contained in:
parent
4bb926abc4
commit
4dd09a6e63
3
justfile
3
justfile
@ -22,6 +22,9 @@ install-clippy:
|
|||||||
install-nightly:
|
install-nightly:
|
||||||
rustup install nightly
|
rustup install nightly
|
||||||
|
|
||||||
|
sloc:
|
||||||
|
@cat src/*.rs | wc -l
|
||||||
|
|
||||||
# make a quine, compile it, and verify it
|
# make a quine, compile it, and verify it
|
||||||
quine: create
|
quine: create
|
||||||
cc tmp/gen0.c -o tmp/gen0
|
cc tmp/gen0.c -o tmp/gen0
|
||||||
|
9
notes
9
notes
@ -1,18 +1,15 @@
|
|||||||
notes
|
notes
|
||||||
-----
|
-----
|
||||||
|
|
||||||
- need to actually produce recipe lines
|
|
||||||
- test rendered recipe lines
|
- test rendered recipe lines
|
||||||
|
|
||||||
- assignment
|
- implement string parsing
|
||||||
. add tokenizing test that covers interpolation
|
|
||||||
. use the same rules as rust: https://doc.rust-lang.org/reference.html#string-literals
|
. use the same rules as rust: https://doc.rust-lang.org/reference.html#string-literals
|
||||||
. \xHH, \u{HHHHHH}, \n, \r, \t, \0, \\, \{ no other escapes
|
. \xHH, \u{HHHHHH}, \n, \r, \t, \0, \\, \{ no other escapes
|
||||||
. '' strings with no escapes
|
. '' strings with no escapes
|
||||||
. run interpolated instead of lines
|
|
||||||
|
- assignment
|
||||||
. make quine use assignment and interpolation
|
. make quine use assignment and interpolation
|
||||||
. make strings more than one character
|
|
||||||
.re-order evaluate assignment
|
|
||||||
- do proper handling of the state stack at EOF
|
- do proper handling of the state stack at EOF
|
||||||
- disallow unused arguments and variables
|
- disallow unused arguments and variables
|
||||||
- allow exporting environment variables
|
- allow exporting environment variables
|
||||||
|
Loading…
Reference in New Issue
Block a user