mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-14 06:00:39 +00:00
5187e64f88
* First cut interpreter
8 lines
292 B
Agda
8 lines
292 B
Agda
module Luau.Addr.ToString where
|
|
|
|
open import Agda.Builtin.String using (String; primStringAppend)
|
|
open import Luau.Addr using (Addr)
|
|
open import Agda.Builtin.Int using (Int; primShowInteger; pos)
|
|
|
|
addrToString : Addr → String
|
|
addrToString a = primStringAppend "a" (primShowInteger (pos a))
|