typemaker-lang / typemaker

Typescript for BYOND's DreamMaker
GNU General Public License v3.0
4 stars 3 forks source link

Proposal Discussion #1

Open Cyberboss opened 5 years ago

Cyberboss commented 5 years ago

Discuss the initial proposal here

Cyberboss commented 5 years ago

IRC Dump:

[16:26:37] <Naksu>  Cyberboss: why would you add types
[16:26:58] <Naksu> they don't enable any performance optimizations
[16:27:16] <SpaceManiac> just figure out some way to staple flow typing onto DM
[16:33:25] <Cyberboss> can't really do that with the prepro
[16:27:44] <ZBot> [tgstation] Pull Request opened by coiax: Improves code implementation of the Musician trait (#41742) (master...improves-musician) https://github.com/tgstation/tgstation/pull/41742
[16:33:39] <Cyberboss> er wiat
[16:29:47] <ZBot> [tgstation] Pull Request merged by SpaceManiac: Grinders now use radials (#41488) by nicbn (master...grnda) https://github.com/tgstation/tgstation/pull/41488
[16:29:47] <ZBot> [tgstation] Push: SpaceManiac pushed 1 commit to master. https://github.com/tgstation/tgstation/compare/5a46ff1cd9bf...ac0d3a4dee8c
[16:29:52] <ZBot> [tgstation] Push: tgstation-server pushed 1 commit to master. https://github.com/tgstation/tgstation/compare/ac0d3a4dee8c...366cdf46153b
[16:35:58] <Cyberboss> Naksu how so?
[16:36:41] <Cyberboss> This is going to generate minified .dm at the end of the day so we can do tons of static optimization to it
[16:32:55] <Qustinnus> cyberboss how would that work
[16:32:59] <Qustinnus> idk what a typescript is so
[16:38:59] <Cyberboss> >thot alarms sound everywhere
[16:33:40] <SpaceManiac> Cyberboss: if it generates minifed .dm, goodbye line numbers
[16:39:39] <Cyberboss> Thinking of a way around that
[16:41:12] <Cyberboss> like a /world/Error override that's convert names/line numbers based on a source map
[16:35:49] <SpaceManiac> could work
[16:36:42] <Naksu> world/Error overrides mask bugs though
sh1kxrv commented 5 years ago

So interesting.