Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

type number #10

Open
MaxGraey opened this issue Mar 23, 2017 · 5 comments
Open

type number #10

MaxGraey opened this issue Mar 23, 2017 · 5 comments

Comments

@MaxGraey
Copy link
Contributor

How about implement general type number for backward compatibility with Typescript?
It may be just alias of float64.

@nidin
Copy link
Contributor

nidin commented Mar 24, 2017

That is a good idea, I was also thinking about it. TurboScript's ultimate goal is to compile pure typescript to WASM. right now i am implementing generic data types for array support which is more important in my readmap. after completing the generics i will add type number.
Thanks for the input. 👍

@nidin nidin added the v1.0.0 label Mar 28, 2017
@nidin nidin added this to the v1.0.0 milestone Mar 28, 2017
@nidin nidin added the ready label Apr 7, 2017
@winksaville
Copy link
Contributor

Is the goal really to be a proper super/subset of TypeScript? I think that also means Turbo is JavaScript. This is laudable goal and someone will do it, but is that really the long term goal?

I'd like to suggest creating a wiki page with the long term goals of the project defined up front. It will provide guidance for features and allow newbies to understand the project direction.

@nidin
Copy link
Contributor

nidin commented Apr 12, 2017 via email

@winksaville
Copy link
Contributor

winksaville commented Apr 12, 2017 via email

@nidin
Copy link
Contributor

nidin commented Apr 12, 2017

Right now I am only thinking about class based objects. Keeping JavaScript dialect is a requirement. When WASM garbage collector ready, supporting pure JavaScript features are not a problem. There is also a typed object proposal for WASM. TurboScript should be able to compile GC code and non-GC code. for now keep everything lite as possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants