3 ms·
The syntax of Tcl is bog-simple, and it’s entire operational description fits in a simple man page[0]. The flexibility can certainly be abused, though that’s no
by bch 6y ago
The syntax of Tcl is bog-simple, and it’s entire operational description fits in a simple man page[0]. The flexibility can certainly be abused, though that’s not strictly the fault of Tcl.
[0] https://www.tcl-lang.org/man/tcl8.6/TclCmd/Tcl.htm https://www.tcl-lang.org/man/tcl8.6/TclCmd/Tcl.htm
- jcelerier 6y ago> The syntax of Tcl is bog-simple, and it’s entire operational description fits in a simple man page[0]. given a problem of fixed complexity, the simpler the language, the harder will the implementation of this problem have to be
- wott 6y agoYep. Languages with a simplistic syntax (and a simplistic paradigm) make writing compilers for those languages easy, but they do not make creating programs in the languages easy. We can think of Lisp, or even more of Forth. It is also a common characteristic of "esoteric" languages: providing very little syntax, very few keywords, instructions and ready-built features, is an ingredient of their recipe for obfuscation.
- SubjectToChange 6y agoWhy is it hard to make programs in lisp? Especially in something like Common Lisp?
- monetus 6y agoHere is a pretty neat tcl->Llvm compiler https://core.tcl-lang.org/tclquadcode/dir https://core.tcl-lang.org/tclquadcode/dir There is a talk on youtube about it I know
- bch 6y agoNot sure how to respond - you’re not necessarily wrong, but Tcl is also not Brainfuck[0]. The GP was indicating: > it takes forever to wrap my head around the syntax. ... which (from observation) is often from second-guessing or overthinking the rules. [0] https://en.wikipedia.org/wiki/Brainfuck https://en.wikipedia.org/wiki/Brainfuck