Capital on Nostr: npub1lnh4s…x96ts :: currently I just make a dummy call to the method I want type ...
npub1lnh4sey03wehr2gr02c3a60jj4h2zl8a9053zdx6eydwnthhk90svx96ts (npub1lnh…96ts) :: currently I just make a dummy call to the method I want type checked. Then, type checking information will cascade through all the other used functions. Basically, I dumped all the Lua code into a Crystal file and fixed all the immediate syntax errors.
However, the tools for generating the "type context" of a function are not co-operating. I can get it to work in small test situations. But not in my actual library.
Published at
2023-06-30 18:56:57Event JSON
{
"id": "d6a138b7f559879a1335e971a4f65fcea21536cb2742ee70955eb35d160a94ff",
"pubkey": "19132ebf4163a2399191bc90c23f33d1fe4945cbe9c807b0d196b172a2701961",
"created_at": 1688151417,
"kind": 1,
"tags": [
[
"p",
"fcef58648f8bb371a9037ab11ee9f2956ea17cfd2be91134dac91ae9aef7b15f",
"wss://relay.mostr.pub"
],
[
"p",
"bdb979148ae3366a99d59c148b503cf44563ea9736055a0b7d7c1b9bc3215ea9",
"wss://relay.mostr.pub"
],
[
"e",
"dc435cf84dd855c4d16f206572cd6e1deec2562b4b1fa040df4788f5b8c40771",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://furry.engineer/users/CapitalEx/statuses/110634691295933866"
]
],
"content": "nostr:npub1lnh4sey03wehr2gr02c3a60jj4h2zl8a9053zdx6eydwnthhk90svx96ts :: currently I just make a dummy call to the method I want type checked. Then, type checking information will cascade through all the other used functions. Basically, I dumped all the Lua code into a Crystal file and fixed all the immediate syntax errors.\n\nHowever, the tools for generating the \"type context\" of a function are not co-operating. I can get it to work in small test situations. But not in my actual library.",
"sig": "7518516095988fa8e386956467fcdc705873997a4230fd95361bdfc296f37f17112a142d8723a3e01b49729f2a258d7b6ee424cbe5853b9f3e16da4136138676"
}