I'd love to see DScript one day ...

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 14 03:12:53 PDT 2016


On Monday, 13 June 2016 at 23:47:40 UTC, Walter Bright wrote:
> Remember you also have to write the documentation for your own 
> language, and write your own test suite. With Javascript you 
> can rely on existing documentation and test suites, which are 
> enormous time savers.

oh, noes. while tests *may* be time savers, ecmascript 
documentation is surely isn't. es is so full of quirks...

sane scripting language can be documented in two pages of text. 
this may not allow to reimplement it 1:1, but will allow to use 
it without any troubles. did that IRL.

and tests "grows organically", especially with dogfooding. it 
took me less than a month to make language usable.

within next month or two i may be able to write it's own SSA 
codegen backend. more time here, as i forgot nearly everything i 
knew about SSA, and have to (re)learn some things. (not that i'll 
do that, it's just an estimation)


More information about the Digitalmars-d mailing list