Commit graph

109 commits

Author SHA1 Message Date
Vyacheslav Egorov
5194dcc126 Note about large offset 2023-12-22 22:22:04 -08:00
Vyacheslav Egorov
cd9e8ec546 RFC: buffer.readbits/writebits 2023-12-22 22:11:08 -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
Arseny Kapoulkine
d535297ee4 Update lower-bounds-calculation.md
This RFC is abandoned; for posterity we will keep this in the tree for now, as it's likely that it represents a subset of the future set of LTI rules
2023-02-14 12:23:54 -08:00
Aaron Weiss
64f41297ef RFC: Expanded Subtyping for Generic Function Types (#641)
[Rendered](https://github.com/aatxe/luau/blob/generic-function-subtyping/rfcs/generic-function-subtyping.md)
2022-09-19 13:42:20 -07:00
Arseny Kapoulkine
29927f58fa RFC: Prohibit use of interpolated strings in function calls without parentheses (#648)
We've had this restriction in the original RFC, but decided to remove it afterwards. This change puts the restriction back - we need to work through some implications of future support for string-based DSLs together with interpolated strings which may or may not change the behavior here, for example to allow something like

```
local fragment = xml `
  <img src="{self.url}" />
`
```
2022-08-25 14:54:02 -07:00
Alexander McCord
2e99d7f9d4 RFC: Explicitly support escape sequence in string interpolation literals (#642)
This was implicitly assumed to be supported, but we should really just say so explicitly. If we didn't, there'd be two ways to interpret it: string interpolations are raw strings and escape sequences don't exist for the most part (false), or string interpolations are like strings and escape sequences do exist (true).

Also talks about the ambiguity with `\u{` and that it is defined to take priority and does not terminate the interpolation chunk and starts a new expression, instead it must be a well-formed escape sequence `\u{...}`. It is very unlikely there'd be another escape sequence that also has this same ambiguity problem, so we don't need to worry about this.
2022-08-23 12:03:53 -07:00
Arseny Kapoulkine
569ee30d29 Update generalized-iteration.md (#640)
Use a more precise pseudocode snippet for __iter handling which matches runtime semantics
2022-08-17 10:02:08 -07:00
Arseny Kapoulkine
16eb1ed8c5 Update RFC status page 2022-08-03 15:40:57 -07:00
Arseny Kapoulkine
6a62dfeef6 Mark never/unknown types RFC as implemented 2022-08-03 15:40:24 -07:00
Arseny Kapoulkine
40d8512225 Mark __len RFC as implemented 2022-08-03 15:38:45 -07:00
Alexander McCord
85679574a3 RFC: Disallow name T and name(T) in future syntactic extensions for type annotations (#589) 2022-07-28 14:48:17 -07:00
Alexander McCord
d19bebb5be RFC: Update the rules on string interpolation in light of feedback (#615)
We make four adjustments in this RFC:

1. `{{` is not allowed. This is likely a valid but poor attempt at escaping coming from C#, Rust, or Python.
2. We now allow `` `this` `` with zero interpolating expressions.
3. We now allow `` f `this` `` also.
4. Explicitly say that `` `this` `` and `` `this {that}` `` are not valid type annotation syntax.
2022-07-28 14:48:05 -07:00
Arseny Kapoulkine
413678d3b2 Spell out RFC considerations for library functions more explicitly (#603)
When considering new standard library functions, we essentially need to strongly justify their existence over their implementation in Luau in user library code.

This PR attempts to provide a few axes of consideration; ideally new library functions tick many of the boxes, eg "used often + is more performant + clear unambiguous interface" is an ideal consideration for a library function, whereas if it's merely accelerating a single specific use case for a single application it's unlikely to be a good justification for inclusion.
2022-07-19 08:37:56 -07:00
Arseny Kapoulkine
ba2fcae7ce Update STATUS.md
Add __len metamethod
2022-06-28 09:08:12 -07:00
Arseny Kapoulkine
8b71efb393 RFC: Support __len metamethod for tables and rawlen function (#536) 2022-06-28 09:06:59 -07:00
Arseny Kapoulkine
d1e5077c4a Update STATUS.md
Add never and unknown types
2022-06-22 12:54:48 -07:00
Arseny Kapoulkine
ab226cd0ad Rename none-and-unknown-types.md to never-and-unknown-types.md
This makes the type names match.
2022-06-22 11:16:38 -07:00
Alan Jeffrey
fa7e192287 RFC: never and unknown types (#434)
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
2022-06-22 11:15:41 -07:00
Arseny Kapoulkine
c5f31f6f7d Mark generalized iteration RFC as implemented 2022-06-09 10:18:29 -07:00
Arseny Kapoulkine
8b928cb3f1 Update STATUS.md
Generalized iteration got implemented, safe indexing got dropped.
2022-06-09 10:18:03 -07:00
Arseny Kapoulkine
ea9bd25c53 RFC: Do not implement safe navigation operator (#501)
This meta-RFC proposes removing the previously accepted RFC on safe navigation operator. This is probably going to be disappointing but is the best course of action that reflects our ideals in language evolution.

See PR thread for rationale and discussion.
2022-06-09 10:03:37 -07:00
Arseny Kapoulkine
3b7d6c4d8f Update STATUS.md
Mark last table subtyping RFC as implemented
2022-05-12 10:08:36 -07:00
Arseny Kapoulkine
57c5c23ab6 Mark last table subtyping RFC as implemented 2022-05-12 10:08:10 -07:00
Arseny Kapoulkine
182112de10 Update STATUS.md
Both generalized iteration and LBC are implemented but not fully enabled in Roblox yet.
2022-05-11 15:14:51 -07:00