Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
That enum is pure! Not visible from docs, and hard to guess as main dev generally do not like pure enums. I tried to use "mode = Whatis" which fails. Should be "mode = ScriptMode.Whatis" I guess, but have not tested yet.
https://nim-lang.org/docs/nimscript.html
ScriptMode = enum
That enum is pure! Not visible from docs, and hard to guess as main dev generally do not like pure enums. I tried to use "mode = Whatis" which fails. Should be "mode = ScriptMode.Whatis" I guess, but have not tested yet.