html2scrbl [html2scrbl]
html2scrbl [html2scrbl]
Project link: https://github.com/dannypsnl/html2scrbl
A web tool to convert input HTML to scribble/html
tr [tr-0000]
tr [tr-0000]
Project: https://github.com/dannypsnl/tr
Site: https://tr-notes.srht.site/
A site generator based on a collection of racket/scribble programs.
下面著手描述這個專案的核心想法
地址唯一性 [tr-0003]
地址唯一性 [tr-0003]
每張卡片應有唯一的地址
生成 embed 與 index HTML [tr-0001]
生成 embed 與 index HTML [tr-0001]
embed 之間需要按引用關係構造,所以用 topological sort 排序(從 metadata.json 中復原依賴關係)後按順序編譯
通過分成兩階段生成,可以讓 index 引入 embed 的內容
raco tr next 與使用方式 [tr-0002]
raco tr next 與使用方式 [tr-0002]
讓 raco tr next xxx
生成新的地址,就可以用 code $(raco tr next xxx).scrbl
這樣的方式開啟新檔案
數學支援 [tr-0004]
數學支援 [tr-0004]
用 Katex 支援公式,用 LaTeX 支援複雜的圖
RSS 與 searching [tr-0005]
RSS 與 searching [tr-0005]
利用預先生成的 addr.metadata.json
進一步生成 RSS 與索引資料
violet [violet]
violet [violet]
violet is a programming language I created for researching dependent type in use. If you want to contribute the project, you will need the below information:
- Project: https://sr.ht/~dannypsnl/violet/
- Ticket tracker: https://sr.ht/~dannypsnl/violet/trackers
- Mailing lists: https://sr.ht/~dannypsnl/violet/lists
racket-llvm [racket-llvm]
racket-llvm [racket-llvm]
Project link: https://github.com/dannypsnl/racket-llvm
LLVM bindings for racket
typed/racket eff [typed-racket-eff]
typed/racket eff [typed-racket-eff]
Project: https://github.com/dannypsnl/typed-racket-eff
An effect system integrated with typed/racket.
agda-tree [agda-tree]
agda-tree [agda-tree]
Project link: http://github.com/dannypsnl/agda-tree
Converts agda produced *.tree
to valid *.tree
.
html2tree [html2tree]
html2tree [html2tree]
Project link: http://github.com/dannypsnl/html2tree
Converts html syntax to forester namespace html syntax.
Algebraic Graph [algebraicgraph]
Algebraic Graph [algebraicgraph]
Formalize Algebraic graphs with class in Lean.
Contribution. llir/llvm [llir]
Contribution. llir/llvm [llir]
Project link: http://github.com/llir/llvm
redux [redux]
redux [redux]
Project link: https://github.com/dannypsnl/redux
type CountingModel struct { rematch.Reducer State int Increase *rematch.Action `action:"IncreaseImpl"` } func (c *CountingModel) IncreaseImpl(s, payload int) int { return s + payload } func main() { c := &CountingModel { State: 0, } store := store.New(c) store.Dispatch(c.Increase.With(30)) store.Dispatch(c.Increase.With(20)) fmt.Printf("result: %d\n", store.StateOf(c)) // expect: 50 }
rocket [rocket]
rocket [rocket]
Project link: https://github.com/dannypsnl/rocket
import ( "github.com/dannypsnl/rocket" ) type User struct { Name string `route:"name"` Age uint64 `route:"age"` } func hello(u *User) string { return "Hello " + u.Name + ", your age is " + strconv.FormatUint(u.Age, 10) } // main.go func main() { rocket.Ignite(8080). Mount( // put `hello` under a path `/user/:name/:age`, where `:name` and `:age` are variant parameters rocket.Get("/user/:name/:age", hello), ). Launch() }