tim
tim copied to clipboard
type proc failing in .timl
I finally got this working with windows and even added a raw:"..." directive for comments / raw html
but i can't figure out how to create custom functions that the timl parser will recognize.
I'd like to get the type proc working
Any guidance?
var x = "Tim is awesome, right?"
echo $x.type
Error (5:8) Undeclared function type [UndeclaredFunction]
Not easy in the main branch. The rewrite branch will have a better way to handle this. For example, type function
https://github.com/openpeeps/tim/blob/f4ce4752b658de720537fa3fface46061e909410/src/tim/engine/stdlib/libsystem.nim#L118-L130