No matching definitions.

tur/sym-dynamic

stdlib/sym-dynamic.tur

opt-in runtime symbol interning (str->sym, SYM5).

Since: Phase SYM5

defn

str->sym

(str->sym [s : cstr] :)

intern a string into a symbol at runtime.

sthe NUL-terminated name to intern (without a leading colon)

The interned symbol for s.

(eq? :hello (str->sym "hello"))  ; => true

Since: Phase SYM5