1
0
mirror of git://jb55.com/damus synced 2024-09-16 02:03:45 +00:00
damus/damusTests
William Casarin 97f10e865f NostrScript
NostrScript is a WebAssembly implementation that interacts with Damus.
It enables dynamic scripting that can be used to power custom list views,
enabling pluggable algorithms.

The web has JavaScript, Damus has NostrScript. NostrScripts can be
written in any language that compiles to WASM.

This commit adds a WASM interpreter I've written as a mostly-single C
file for portability and embeddability. In the future we could
JIT-compile these for optimal performance if NostrScripts get large and
complicated. For now an interpreter is simple enough for algorithm list
view plugins.

Changelog-Added: Add initial NostrScript implementation
Signed-off-by: William Casarin <jb55@jb55.com>
2023-07-03 14:31:38 -07:00
..
Models NostrScript 2023-07-03 14:31:38 -07:00
Bech32Tests.swift extract HomeModel from ContentView 2022-05-24 12:57:40 -07:00
CustomZapViewTests.swift Fix plurality on sats 2023-05-05 09:00:02 -07:00
damusTests.swift Fix tests 2023-04-23 04:36:16 -07:00
DMTests.swift Refactor direct messages model 2023-04-15 12:41:00 -07:00
EventDetailBarTests.swift Fix localization issues, add tests, import translations, and add zh-CN and zh-TW 2023-02-24 12:44:54 -08:00
EventGroupViewTests.swift Fix missing profile zap notification text 2023-06-28 14:48:06 +02:00
FormatTests.swift Fix localization issues, add tests, import translations, and add zh-CN and zh-TW 2023-02-24 12:44:54 -08:00
InvoiceTests.swift bolt11: fix bug where text not showing after invoice 2023-01-01 11:31:36 -08:00
KeychainStorageTests.swift Replace Vault dependency with @KeychainStorage property wrapper 2023-05-04 15:57:02 -07:00
LikeTests.swift Fix reaction notification title to be consistent with ReactionView 2023-05-24 15:20:02 -07:00
ListTests.swift Initial NIP-51 Mute List Implementation 2023-01-25 09:53:59 -08:00
MarkdownTests.swift Fix ascii shrug guy 2023-01-03 23:05:41 -08:00
NIP19Tests.swift Add another bech32 test 2023-04-11 10:23:34 -07:00
NostrScriptTests.swift NostrScript 2023-07-03 14:31:38 -07:00
ProfileDatabaseTests.swift add damus_donation to profile data model and update tests 2023-05-26 07:02:14 -05:00
ProfileViewTests.swift Add indication of followers you know in a profile 2023-06-25 09:38:57 +02:00
ReplyDescriptionTests.swift Add image uploader 2023-03-15 17:12:05 -06:00
ReplyTests.swift Replace indexed mentions with NIP-27 2023-06-07 06:22:38 +02:00
RequestTests.swift tests: disable invalid tests 2023-06-23 20:46:27 +02:00
TimeAgoTests.swift Fix localization issues, add tests, import translations, and add zh-CN and zh-TW 2023-02-24 12:44:54 -08:00
TrieTests.swift Add trie-based user search cache to replace non-performant linear scans 2023-07-03 12:06:01 -07:00
UserSearchCacheTests.swift Add trie-based user search cache to replace non-performant linear scans 2023-07-03 12:06:01 -07:00
WalletConnectTests.swift nwc: fix broken test 2023-05-14 10:49:54 -07:00
ZapTests.swift Add trie-based user search cache to replace non-performant linear scans 2023-07-03 12:06:01 -07:00