Tags: lea-glitch/grol
Tags
Small maps (grol-io#164) * Small maps * Fix Cmp() - would need more test, also need to benchmark the cost of small version * remove unused array/map equals (Cmp is replacement) * more self review, use copy() instead of own loop in small map rest() * Fix rest() on small map, use copy() where it makes sense, append where it does; make Rest() bigmap return small map
Review comments/shellcheck (grol-io#161) * review comments/shellcheck (even though...) * Adding cool boxed matrix code, a bit too epic functional though... * tic-tac-toe style multiple matrixes side by side * Fix grol-io#162 - do not cache a function if it reaches outside of its own environment * use tabs for game example * better name now that the array version doesn't print anymore
Set a limit for wasm case, to use what we just built (grol-io#160) * Set a limit for wasm case, to use what we just built * remove dup comment
Solve/avoid OOM kills and memory fatals by doing our own checks (grol… …-io#159) * Solve/avoid OOM kills and memory fatals by doing our own checks * Also protect against very long values in (auto)save * Added a few more checks, avoid warning on startup for test/examples * review comments * correct len calc for join
Make join/split seperator argument optional, add `*` operator on arra… …ys (grol-io#158) * Make join/split seperator argument optional * add * operator on arrays
Adding bit `& | ^ ~ << >>` and boolean `||` `&&` with short circuiting ( grol-io#157) * Adding bit & | ^ ~ << >> and boolean || && with short circuiting * Allow ^ as unary, same as ~; allow ~0>>1 to not stay -1; add binary() in grol that works for 64th bit being set
Added int() works on int,bool,float and strings (grol-io#155) * Added int() works on int,bool,float and strings * bump terminal so verbose logging doesn't include 99 history * cleanup go.mod
Adding * operator for string, runes() rune_len() width() split() join… …() min() max() - use it in neat emoji aware boxText() example (grol-io#153) * Adding * operator for string, runes() rune_len() and width() - use it in neat emoji aware boxText() * linter * added split,join,min,max * linter, rather annoying the go installed version of golangci-lint doesn't work the same as the binary install * Demo multi line box with padding * fix typo in demo * Add support of unicode escape in strings, and for backtick * Add support of 0x and 0b in numbers
Prefix version of ++/-- (grol-io#149) * Prefix version of ++/-- * add some tests... but 5 + doesn't work... oh well * simplify a bit given we're called with either incr or decr
PreviousNext