Commit graph

131 commits

Author SHA1 Message Date
Junseo Yoo
fd8f36cd8a
Reworded for better clarity
Co-authored-by: aaron <aweiss@hey.com>
2024-06-10 14:01:16 -07:00
Junseo Yoo
d3b99419a3 Code blocks '''lua -> '''luau 2024-06-10 10:47:19 -07:00
Junseo Yoo
1f61d7346b Added more clarifications on interactions of index and classes 2024-06-05 14:41:42 -07:00
Junseo Yoo
202e9ddc31 Fixed the error messages to be consistent with current implementation of index type operators 2024-06-05 13:56:35 -07:00
Junseo Yoo
d0bd358491 Added explanation about interactions with __index metamethod 2024-06-04 23:51:13 -07:00
Junseo Yoo
7e974f0b3b index type operator version 2 2024-05-31 11:31:04 -07:00
Junseo Yoo
5782ba9463 Revised the alternatives section 2024-05-31 09:55:07 -07:00
Junseo Yoo
4e3c3e5774 Merge remote-tracking branch 'upstream/master' into jeremyyoo-index-type-operator
the commit.
2024-05-31 09:41:57 -07:00
Junseo Yoo
477d7911f0
Update docs/index-type-operator.md
Small change: reworded "syntax" to "type arguments"

Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
2024-05-31 09:40:59 -07:00
Junseo Yoo
0f30ae5e27
Update index-type-operator.md
Nitpick on the title of the RFC
2024-05-30 15:58:44 -07:00
Junseo Yoo
b764c59718 Added a note for the errors, rewrote 'Drawbacks' section 2024-05-30 15:00:17 -07:00
Junseo Yoo
590a7c64ba
Update docs/index-type-operator.md
fixed a small typo regarding the type of `param` (for line 23)

Co-authored-by: Dev Chrysalis Dalal <102641218+deviaze@users.noreply.github.com>
2024-05-30 14:32:18 -07:00
Junseo Yoo
b0c5b71aef
Update docs/index-type-operator.md
fixed a small typo regarding the type of `param` (for line 44)

Co-authored-by: Dev Chrysalis Dalal <102641218+deviaze@users.noreply.github.com>
2024-05-30 14:31:47 -07:00
Junseo Yoo
a17cfd48d6
Update docs/index-type-operator.md
Following, Aaron's comment, reworded last sentence of  motivation to target broader audience

Co-authored-by: aaron <aweiss@hey.com>
2024-05-30 13:13:24 -07:00
Junseo Yoo
7893ca4d9a index type operator version 1 2024-05-30 12:31:28 -07:00
Aviral Goel
21d3413d47
RFC: Function Attribute Parameters (#30)
* RFC for attribute parameters

* Use a relative path to generalize for GitHub and the RFC site.

* Add reason for allowing `nil` parameter

* Handle forward compatibility and clarify parsing behavior.

* Slight rewording

* Add discussion for handling `@checked`

* Update description for new syntax.

* Improve presentation, fix ebnf syntax, and address comments.

* Propose function-call syntax for attributes
2024-05-30 12:19:18 -07:00
boyned//Kampfkarren
7e35ba35a0
Key destructuring (local {.a, .b} = t) (#24)
* Key destructuring RFC

* Feedback + 'as'

* Mention evaluation amount

* Fix type

* Spell check

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>

---------

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
2024-05-20 20:00:51 -07:00
Alexander McCord
1ca8399b0d
Update attributes for functions RFC with more reasons against comments (#33)
Why not use comments? This is why.
2024-05-08 15:48:07 -07:00
Micah
d495078767
Attributes for functions (#10)
* Add intial draft of RFC

* Correct typo

* Update syntax-attributes-functions.md

---------

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
2024-04-11 10:56:04 -07:00
Alexander McCord
e471d1f79d
Improved type checking rules of cast operator (#27) 2024-03-18 20:30:36 -07:00
Alexander McCord
2b28353611
Allow leading | and & in types (#25)
* Propose.

* Little grammar error.

* Semi-colons and language standardized indentations.

* n) -> n.
2024-03-11 11:06:25 -07:00
Alan Jeffrey
85b4d9a9d9
Add RFC for shared self (#5) 2024-01-23 09:47:08 -08:00
aaron
28e9cb8a70
RFC: keyof and rawkeyof type operators (#16) 2024-01-16 10:54:06 -08:00
Andy Friesen
8eea6768b4
RFC: Syntax for read- and write- access to properties (#15)
* RFC for property access modifier syntax.

Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
2024-01-12 16:03:21 -08:00
vegorov-rbx
4d5453ce33
Status update on bit32.byteswap and buffer (#17) 2023-12-15 13:50:54 -08:00
menarulalam
2fa1e811e1
Updates to require by string RFCs (#14)
* Updated rfcs

* Removed @ requirement

* Updated alias

* Added a space

* Undid @ for paths
2023-12-12 13:56:02 -05:00
menarulalam
c6d0c6adb3
RFC: Require by string with aliases (#7)
* Create require-by-string-aliases.md

* Update require-by-string-aliases.md

* Update require-by-string-aliases.md

* Changed aliases to be case-insensitive + restricted the charset

* Update docs/require-by-string-aliases.md

Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>

* Update require-by-string-aliases.md to have @

* Include justification for alias name case insensitivity

* Fixed typo

* Removed duplicate section

---------

Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
2023-11-30 14:02:44 -05:00
menarulalam
adda97e3a1
RFC: New Require By String Semantics (#6)
* Create require-by-string-relative-paths.md

* Update docs/require-by-string-relative-paths.md

Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>

* Enforced relative path formatting

* Rename require-by-string-relative-paths.md to new-require-by-string-semantics.md

* Update new-require-by-string-semantics.md

* Update docs/new-require-by-string-semantics.md

---------

Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
2023-11-16 14:08:51 -08:00
Arseny Kapoulkine
99bbc8636e
Update behavior-stricter-utf8-library.md
Mark as implemented
2023-11-16 13:32:01 -08:00
cliffchapmanrbx
6138ca28f7
Create CNAME 2023-11-10 14:12:23 -08:00
cliffchapmanrbx
f43dc97c8d
Delete CNAME 2023-11-10 14:12:19 -08:00
Arseny Kapoulkine
c12c6cdd9f
Stricter utf8 library validation (#1) 2023-11-08 12:03:36 -08:00
Lily Brown
e14a058fe7
Add stale workflow for PRs (#8) 2023-11-08 09:30:19 -08:00
vegorov-rbx
cdaab6518c
Fix signature of buffer.tostring in the buffer RFC (#9) 2023-11-08 06:09:04 -08:00
Arseny Kapoulkine
2d619a8504
Update index.md
Preamble that discusses the RFC process and corrections.
2023-10-30 08:53:21 -07:00
Arseny Kapoulkine
9b403388c6 docs: Remove README and TEMPLATE
These files are now in the root folder.
2023-10-30 08:48:08 -07:00
Arseny Kapoulkine
f8ab9fd8cd
Delete docs/STATUS.md
We'll find a different way to track RFC status.
2023-10-30 07:56:53 -07:00
Arseny Kapoulkine
7be809109c Add site config and index
Also fix string interpolation RFC to be compatible with Jekyll
2023-10-30 07:52:49 -07:00
Arseny Kapoulkine
8b942d4c73 Add README and TEMPLATE 2023-10-30 07:52:16 -07:00
Rerumu
d00f6a3c2f RFC: Built in buffer type and library (#739)
[Rendered
document](https://github.com/Rerumu/luau/blob/rfc-type-byte-array/rfcs/type-byte-buffer.md).

---------

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
Co-authored-by: Micah <dekkonot@rocketmail.com>
2023-10-19 01:13:58 -07:00
Micah
e95ad4d007 RFC: Add bit32.byteswap to support swapping the endianness of integers (#1052)
This function might be of particular use if #739 is accepted, but as it
stands, it still brings a measurable reduction in complexity for
swapping byte order and is measurably faster (around a 50% reduction in
time per operation on my machine), albeit on the order of magnitude of
nanoseconds.
2023-10-16 08:47:23 -07:00
Arseny Kapoulkine
6b44fd77f2 rfcs: Update status
String interpolation and table.getn/et al deprecation has been live for
a while.

getfenv/setfenv linter diagnostics is going to ship in the next release,
so preemptively marking this as Implemented as well.
2023-10-11 08:29:25 -07:00
Alan Jeffrey
6b039ec388 RFC for new non-strict mode (#1037) 2023-10-09 18:57:50 -05:00
Arseny Kapoulkine
4bea4517a5 rfcs: Mark floor division RFC as implemented 2023-09-01 14:10:22 -07:00
Andy Friesen
73e1f81f71 RFC for local type inference. (#1007)
[Rendered](0e1082108f/rfcs/local-type-inference.md)
2023-08-23 15:52:59 -07:00
Petri Häkkinen
d3cda06c97 RFC: Floor division operator (#832)
[Rendered](https://github.com/petrihakkinen/luau/blob/rfc-floor-division/rfcs/syntax-floor-division-operator.md)
2023-03-20 15:12:48 -07:00
Alan Jeffrey
28466cf4dc Add RFC for type error suppression (#835)
This formalizes our strategy for suppressing type errors, and fixes the
weirdness of `any` being both a top and bottom type.
2023-03-13 19:33:27 -05:00
Arseny Kapoulkine
53a5ca3bf1 Correct table.getn/foreach deprecation RFC (#848)
It looks like all three functions actually have been deprecated in Lua
5.1, and removed in Lua 5.2.

We do not plan to remove them to retain backwards compatibility, but the
RFC should be more precise.
2023-02-27 12:30:33 -08:00
Arseny Kapoulkine
42171e46ba Update STATUS.md 2023-02-14 12:25:58 -08:00
Arseny Kapoulkine
952d913c56 RFC: Deprecate table.getn/foreach/foreachi (#715)
[Rendered](https://github.com/Roblox/luau/blob/zeux-rfc-deptable/rfcs/deprecate-table-getn-foreach.md)
2023-02-14 12:25:12 -08:00