Download lib/perplexity_macro/vm/memory.ex from Snapkitty/perplexity-macro-vm: direct link, hf CLI and curl.
- Browser
- Download file 123 Bytes
-
https://huggingface.co/Snapkitty/perplexity-macro-vm/resolve/main/lib/perplexity_macro/vm/memory.ex
- Command line
-
hf download hf://Snapkitty/perplexity-macro-vm/lib/perplexity_macro/vm/memory.ex
-
curl -L -o memory.ex https://huggingface.co/Snapkitty/perplexity-macro-vm/resolve/main/lib/perplexity_macro/vm/memory.ex
123 Bytes
| defmodule PerplexityMacro.Memory do | |
| def fetch_word(vm, addr), do: Map.get(vm.ram, addr, Map.get(vm.rom, addr, 0)) | |
| end | |