• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

A categorical programming language


Commit MetaInfo

修訂530f14a3d6cb9afae5b36e613341c4af10e901e3 (tree)
時間2024-03-12 06:21:52
作者Corbin <cds@corb...>
CommiterCorbin

Log Message

Include zaha.

Change Summary

差異

--- a/checklist.txt
+++ b/checklist.txt
@@ -12,7 +12,7 @@ You appear to believe that:
1212 [x] Syntax is what makes programming difficult
1313 [x] Garbage collection is free [x] Computers have infinite memory
1414 [x] Nobody really needs:
15- [x] concurrency [x] a REPL [x] debugger support [x] IDE support [x] I/O
15+ [x] concurrency [ ] a REPL [x] debugger support [x] IDE support [x] I/O
1616 [x] to interact with code not written in your language
1717 [ ] The entire world speaks 7-bit ASCII
1818 [ ] Scaling up to large software projects will be easy
@@ -27,7 +27,7 @@ Unfortunately, your language (has/lacks):
2727 [ ] implicit type conversion [x] explicit casting [ ] type inference
2828 [ ] goto [ ] exceptions [ ] closures [ ] tail recursion [ ] coroutines
2929 [ ] reflection [x] subtyping [ ] multiple inheritance [ ] operator overloading
30-[x] algebraic datatypes [ ] recursive types [ ] polymorphic types
30+[x] algebraic datatypes [ ] recursive types [x] polymorphic types
3131 [ ] covariant array typing [x] monads [ ] dependent types
3232 [x] infix operators [x] nested comments [x] multi-line strings [ ] regexes
3333 [ ] call-by-value [ ] call-by-name [ ] call-by-reference [ ] call-cc
@@ -50,7 +50,7 @@ The following philosophical objections apply:
5050 [ ] Your language relies on an optimization which has never been shown possible
5151 [x] There are less than 100 programmers on Earth smart enough to use your language
5252 [x] ____________________________ takes exponential time
53-[ ] ____________________________ is known to be undecidable
53+[x] ____________________________ is known to be undecidable
5454
5555 Your implementation has the following flaws:
5656 [x] CPUs do not work that way
@@ -59,8 +59,8 @@ Your implementation has the following flaws:
5959 [x] Compilers do not work that way
6060 [ ] Compilers cannot work that way
6161 [ ] Shift-reduce conflicts in parsing seem to be resolved using rand()
62-[ ] You require the compiler to be present at runtime
63-[ ] You require the language runtime to be present at compile-time
62+[x] You require the compiler to be present at runtime
63+[x] You require the language runtime to be present at compile-time
6464 [x] Your compiler errors are completely inscrutable
6565 [ ] Dangerous behavior is only a warning
6666 [ ] The compiler crashes if you look at it funny
--- a/flake.lock
+++ b/flake.lock
@@ -37,7 +37,8 @@
3737 "root": {
3838 "inputs": {
3939 "flake-utils": "flake-utils",
40- "nixpkgs": "nixpkgs"
40+ "nixpkgs": "nixpkgs",
41+ "zaha": "zaha"
4142 }
4243 },
4344 "systems": {
@@ -54,6 +55,29 @@
5455 "repo": "default",
5556 "type": "github"
5657 }
58+ },
59+ "zaha": {
60+ "inputs": {
61+ "flake-utils": [
62+ "flake-utils"
63+ ],
64+ "nixpkgs": [
65+ "nixpkgs"
66+ ]
67+ },
68+ "locked": {
69+ "lastModified": 1694533980,
70+ "narHash": "sha256-ft0zP27uPVDINZscPxBDXwJ/G+dzUu1aZjzQr6H/yh4=",
71+ "ref": "refs/heads/master",
72+ "rev": "4df5975a87965bab9507e09ac60618dc4318231b",
73+ "revCount": 61,
74+ "type": "git",
75+ "url": "git://riddler.local/zaha.git"
76+ },
77+ "original": {
78+ "type": "git",
79+ "url": "git://riddler.local/zaha.git"
80+ }
5781 }
5882 },
5983 "root": "root",
--- a/flake.nix
+++ b/flake.nix
@@ -3,8 +3,15 @@
33 inputs = {
44 nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
55 flake-utils.url = "github:numtide/flake-utils";
6+ zaha = {
7+ url = "git://riddler.local/zaha.git";
8+ inputs = {
9+ nixpkgs.follows = "nixpkgs";
10+ flake-utils.follows = "flake-utils";
11+ };
12+ };
613 };
7- outputs = { self, nixpkgs, flake-utils }:
14+ outputs = { self, nixpkgs, flake-utils, zaha }:
815 flake-utils.lib.eachDefaultSystem (system:
916 let
1017 pkgs = import nixpkgs {
@@ -77,7 +84,7 @@
7784 # Honey
7885 python39Packages.flask purescript
7986 # Documentation
80- graphviz
87+ graphviz zaha.packages.${system}.default
8188 # experimenting with Honey
8289 wabt binaryen
8390 # openapi-generator-cli yaml2json python3Packages.virtualenv
--- a/todo.txt
+++ b/todo.txt
@@ -412,7 +412,13 @@
412412 * Tile colors are chosen by sampling some underlying function at each
413413 Voronoi center!
414414 * Community problems
415- * https://googology.fandom.com/wiki/User_blog:JohnTromp/The_largest_number_representable_in_64_bits
415+ * Long-running/fast-growing functions
416+ * https://googology.fandom.com/wiki/User_blog:JohnTromp/The_largest_number_representable_in_64_bits
417+ * https://codegolf.stackexchange.com/questions/79620/laver-table-computations-and-an-algorithm-that-is-not-known-to-terminate-in-zfc
418+ * https://codegolf.stackexchange.com/questions/79470/write-a-program-whose-nontermination-is-independent-of-peano-arithmetic
419+ * https://codegolf.stackexchange.com/questions/6430/shortest-terminating-program-whose-output-size-exceeds-grahams-number
420+ * https://codegolf.stackexchange.com/questions/139355/golf-a-number-bigger-than-tree3
421+ * https://codegolf.stackexchange.com/questions/18912/lifetime-of-a-worm
416422 * Project Euler
417423 * take every third element in a list
418424 * Useful for (1) and (2)