ok
advent-of-code-2022
ok | advent-of-code-2022 | |
---|---|---|
30 | 17 | |
576 | 3 | |
- | - | |
4.2 | 10.0 | |
6 months ago | over 1 year ago | |
JavaScript | Rust | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ok
- Trees
- Programming in K
- k on pdp11
-
Origins of J
This - https://github.com/JohnEarnest/ok - can also be used sometimes...
- Trees in K
-
Coding in the Shadows: Hidden Gems of Lisp, Clojure, and friends
If you want to try out K, there are some open source implementations, like John Earnest's oK which has a REPL and a calculator-like interface for mobile phones with a charting feature.
-
Why Lisp Syntax Works
and have the programmer use the word "barchart", they instead prefer to use the definition itself. The word "barchart" has a specific meaning (here, an ascii "bar chart" of 0s and 1s, showing the relative sizes of the values of input array x), but "{x>\:!|/x}" might be useful for more than just bar charts. This idiom contains smaller idioms like "count til max" (!|/) which in turn contains "max" (|/).
Being able to see the code makes it easier to explore and tweak to your specific needs. But more importantly, there are no "official" names for concepts like "count til max". That's just my personal name for it. A python programmer would call it "range". You could come up with your own name for (!|/) that makes perfect sense to you. But that name will probably be longer than its definition, and less flexible.
[1] https://github.com/JohnEarnest/ok/blob/gh-pages/examples/idi...
-
Animated unknown pleasures in 3 lines of K
check out oK[0] by John Earnest, who is the author of the content of this post
it is well-written manual and is a great jumping off point
there is a k-enthusiast element.io server[1] where you can ask any question you like. folks are friendly!
[0] https://github.com/JohnEarnest/ok
[1] https://matrix.to/#/#aplfarm-k:matrix.org
- APLcart โ Find your way in APL
advent-of-code-2022
- 2015-2022: What solution to a problem are you the most proud of
-
[2021 Day 6 (Part 2)] [Rust] Pretty darn elegant
nice one! you can make it even faster by creating a compile time multiplication table as i have done here, so all that happens at runtime is the bucketing of similarly aged fish, 7 multiplications + a sum
- -๐- 2022 Day 22 Solutions -๐-
- -๐- 2022 Day 21 Solutions -๐-
-
[2022 Day 14 (Part 2)] Oสฐ(Nยฒ)แตแตแตแต!... OH YEAH!
you've still got some overhead in your code, my rust solution creates a dense lookup array at runtime & takes ~200us on my 10850k. are you including file IO and printing to stdout?
- -๐- 2022 Day 14 Solutions -๐-
- -๐- 2022 Day 13 Solutions -๐-
-
-๐- 2022 Day 11 Solutions -๐-
code
- -๐- 2022 Day 7 Solutions -๐-
-
-๐- 2022 Day 5 Solutions -๐-
full solution
What are some alternatives?
weblog - a weblog
jmurmel - A standalone or embeddable JVM based interpreter/ compiler for Murmel, a single-namespace Lisp dialect inspired by Common Lisp
Kbd - Alternative unified APL keyboard layouts (AltGr, Backtick, Compositions)
cl-ppcre - Common Lisp regular expression library
Co-dfns - High-performance, Reliable, and Parallel APL
aoc - Advent of Code
Pilot - Orca's best friend.
advent_of_code
brs - An interpreter for the BrightScript language that runs on non-Roku platforms.
CC-AdventOfCode-2022
april - The APL programming language (a subset thereof) compiling to Common Lisp.
advent-of-code