mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-16 06:45:44 +08:00
5187e64f88
* First cut interpreter
9 lines
292 B
Agda
9 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))
|