3 ms·
The fact that I learned Tcl because of Vivado is probably why I don't like it. I'll probably never like it, but I can at least admit it has some nice features t
by hoosieree 3y ago
The fact that I learned Tcl because of Vivado is probably why I don't like it. I'll probably never like it, but I can at least admit it has some nice features that make sense for an embedded scripting language.
But I've never seen anything more vile[0] than Cadence's "Ocean" scripting language[1]. It has such contempt for the user. For example, when learning you might notice
command(
is ok but
command (
is a syntax error. You then might conclude that the language is trying to be strict and help you write correct programs. But then you realize that
"]
is magic syntax which closes all previous strings, and it just gets worse from there.
[0]: except satirical/joke languages
[1]: https://www.eecis.udel.edu/~vsaxena/courses/ece697A/docs/OCEAN+Reference.pdf https://www.eecis.udel.edu/~vsaxena/courses/ece697A/docs/OCE...
- dfox 3y agoThat is because SKILL is really an scheme under the hood. And somebody had the bright idea of making the syntax more "user friendly" (read: more like C) by inventing a rule that "foo(bar)" parses as "(foo bar)" while "foo (bar)" parses as "foo (bar)". IIRC there also is another similar rule for when expression is parsed as infix. Right bracket with the meaning of close all was used in some lisps because somebody did not like the long runs of closing parens at the end of definitions.
- hoosieree 3y agoYup. Ease at the cost of simplicity comes at the cost of ease.