Skip to content

Commit

Permalink
Update src/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
osyrisrblx committed Sep 25, 2020
1 parent 31b1b7e commit 03f161f
Showing 1 changed file with 6 additions and 30 deletions.
36 changes: 6 additions & 30 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,9 @@ The roblox-ts compiler is made up of 5 subprojects that each have their own goal

### **Todo**

- [x] Initialization (`rbxtsc --init`)
- Modes: Game, Model, Plugin, Package (npm)
- Flags: eslint, prettier (implies eslint?), git? (for `git init` + `.gitignore`)
- Should these all default to `true`? i.e. `rbxtsc --init game --prettier=false`
- Should we use something like [inquirer](https://www.npmjs.com/package/inquirer) instead?
- [ ] Watch Mode (`rbxtsc -w`)
- Could use built-in TypeScript watch infra, might not work on non-TS files? Chokidar (on non-ts) + TS infra?
- Chokidar -> "full" incremental build? Maybe this is good enough?
- [ ] Fix String methods/calls offsetting for arguments + result, add back `string.*` library
- [ ] Iteration System
- Array Destructuring - Single iteration of next item in iterable (currently things like arrayAccessor, etc.)
- Array Destructuring Spread - Loop over remaining items in iterable, add to object
- ForOf Statement / Spread Expression - Loop over items in iterable
- Iterables
- [ ] `Array<T>`
- [ ] `Map<K, V>`
- [ ] `Set<T>`
- [ ] `String`
- [ ] `IterableFunction<LuaTuple<T>>`
- [ ] `Generator`
- [x] Reserved Lua identifiers (`and`, `or`, `then`, `nil`, etc.)
- [x] Reserved Class methods (`__index`, `__newindex`, etc.)
- [x] Class static/instance method collision
- [ ] Macros which access `node.arguments` do not properly account for spreads
- [x] Rewrite RojoResolver to support nested Rojo projects, will be used for packages in the future
- [ ] Add RojoResolver support for symlinks in node_modules
- [x] Generator Functions
- [x] .d.ts emit improvements
- Fix `/// <reference types="types" />` -> `/// <reference types="@rbxts/types" />`
- Redefine imports/exports to use baseUrl correctly
- [ ] Finish spread expression types
- [ ] Finish array spread expression types
- [ ] Upgrade to TypeScript 4.0 and add support for `&&=`, `||=`, `??=`
- [ ] Remove string input incrementing and output decrementing
- [ ] Add error for using spread operator on macros
- [ ] Add error for using macros with union types

0 comments on commit 03f161f

Please sign in to comment.