mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
todo
This commit is contained in:
parent
9d892426cf
commit
48f096c8d1
3 changed files with 24 additions and 40 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
# Port-completion criteria
|
||||
|
||||
* `reg-test/run -g` completes -- either completing/fixing the C/Go source-code discrepancies, or accepting the changes as backward incomptabilities
|
||||
* `reg-test/run` completes -- either completing/fixing the C/Go source-code discrepancies, or accepting the changes as backward incomptabilities
|
||||
* Double-checking all Miller issues ever, in case I fixed/implemented something but didn't have reg-test coverage
|
||||
* All `TODO`/`xxx` comments in Go, BNF source code, and case-files are resolved
|
||||
* Release notes including Go-only features, and C/Go backward-incompatibilities
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
us=$(basename $0)
|
||||
set -euo pipefail
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "Usage: $0 {.bnf file}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
bnf="$1"
|
||||
dir=./parserfoo
|
||||
verbose="true"
|
||||
#verbose="false"
|
||||
|
||||
mkdir -p $dir
|
||||
|
||||
export GOPATH=$(pwd)
|
||||
|
||||
# Build the bin/gocc executable:
|
||||
go get github.com/goccmack/gocc
|
||||
|
||||
rm -f $dir/*.txt
|
||||
if [ "$verbose" = "true" ]; then
|
||||
lr1="$dir/LR1_conflicts.txt"
|
||||
bin/gocc -v -o $dir $bnf || expand -2 $lr1
|
||||
else
|
||||
bin/gocc -o $dir $bnf
|
||||
fi
|
||||
|
||||
# Code-gen directories:
|
||||
# $dir/errors/
|
||||
# $dir/lexer/
|
||||
# $dir/parser/
|
||||
# $dir/token/
|
||||
# $dir/util/
|
||||
27
go/todo.txt
27
go/todo.txt
|
|
@ -1,13 +1,32 @@
|
|||
----------------------------------------------------------------
|
||||
TOP OF LIST:
|
||||
|
||||
! 5.10.1 !
|
||||
sort-within-records
|
||||
??
|
||||
truncate
|
||||
myfound
|
||||
count -n
|
||||
https://github.com/johnkerl/miller/issues/370
|
||||
seqgen nr/fnr
|
||||
myfound
|
||||
unsparsify -f
|
||||
https://github.com/johnkerl/miller/issues/387
|
||||
pprint headerless
|
||||
golang ask .......
|
||||
...
|
||||
JSON-parse bug
|
||||
https://github.com/johnkerl/miller/issues/394
|
||||
|
||||
! gating after: 'int x = 1; x = "abc"'
|
||||
|
||||
small:
|
||||
* justWroteEmptyLine -> pprint too ...
|
||||
* nidx @ 10-min
|
||||
* text-put @ 10-min
|
||||
* xls note (issue #396) @ file-format docs
|
||||
|
||||
medium:
|
||||
! gating after: 'int x = 1; x = "abc"'
|
||||
? records as mlrmap -> mlrval?
|
||||
o reduce $* copy ...
|
||||
o opens the door to some (verb-subset) truly arbitrary-JSON processing ...
|
||||
|
|
@ -89,8 +108,6 @@ no need to bootstrap a parser for the parser-generator language
|
|||
* bash completion script https://github.com/johnkerl/miller/issues/77#issuecomment-308247402
|
||||
https://iridakos.com/programming/2018/03/01/bash-programmable-completion-tutorial#:~:text=Bash%20completion%20is%20a%20functionality,key%20while%20typing%20a%20command.
|
||||
|
||||
!! [[]] etc to avoid inadvertent sequentials for int indices on maps.
|
||||
this should happen intentionally, not accidentally.
|
||||
* Check for "Options:" in all mappers
|
||||
* check for `f.Value` reassigned in all mappers -- reflects true default?
|
||||
|
||||
|
|
@ -341,7 +358,7 @@ NITS/NON-IMMEDIATE:
|
|||
* case-c-* / case-go-* -> case-* eventually
|
||||
* implement min/max for array/map ... using cmp rules
|
||||
! write out thorough min/max/cmp cases for all orderings by type
|
||||
* silent zero-pass for-loops on non-collections:
|
||||
* silent zero-pass for-loops on non-collections:
|
||||
o intended as a heterogenity feature ...
|
||||
o consider a --errors or --strict mode; something
|
||||
* note about non-determinism for DSL print/dump vs record output-stream now ...
|
||||
|
|
@ -375,3 +392,5 @@ NITS/NON-IMMEDIATE:
|
|||
--versus--
|
||||
foo[NR] = $foo # auto-creates and auto-extends a map with keys "1","2","3",...
|
||||
* reorder locations of get/put/remove methods in mlrval/mlrmap
|
||||
* grep out all error message from reg-test outputs & doc them all & make sure index-searchable at readthedocs
|
||||
* short 'asserting' functions (absent/error); and/or put --strict or somesuch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue