aaron
|
5d1efac9aa
|
Update examples to match revised API
|
2024-08-15 13:06:41 -07:00 |
|
aaron
|
26771c3699
|
Take into account read/write properties
|
2024-08-15 13:02:09 -07:00 |
|
aaron
|
08df0fbe7d
|
Opinionatedly clean up the types API.
|
2024-08-14 15:50:31 -07:00 |
|
aaron
|
ee944a6117
|
We'll call the library types , not type .
|
2024-08-14 15:02:31 -07:00 |
|
aaron
|
935d592aca
|
Update user-defined-type-functions.md
|
2024-08-13 16:03:30 -07:00 |
|
aaron
|
ea6e73aceb
|
Make a big edit pass over the RFC
|
2024-08-13 16:02:12 -07:00 |
|
Junseo Yoo
|
68226725c2
|
Add a note about increasing the list of available globals/libraries:
|
2024-08-05 13:44:47 -07:00 |
|
Junseo Yoo
|
e9dd8a2d83
|
Forgot string and utf8 library
|
2024-08-04 17:35:25 -07:00 |
|
Junseo Yoo
|
9261385376
|
add information about type functions not being able to be exported
|
2024-08-02 20:15:05 -07:00 |
|
Junseo Yoo
|
8ed92d14a9
|
forgot to finish my sentence
Co-authored-by: aaron <aweiss@hey.com>
|
2024-08-02 17:30:03 -07:00 |
|
Junseo Yoo
|
d95132ebfb
|
optional arguments does not mean you don't need to write it
|
2024-07-31 23:49:46 -07:00 |
|
Junseo Yoo
|
a449a000c8
|
combine getstringsingleton, getbooleansingleton
|
2024-07-31 10:58:20 -07:00 |
|
Junseo Yoo
|
40295408f1
|
better example for long running type functions
|
2024-07-30 12:27:30 -07:00 |
|
Junseo Yoo
|
272ca7dbaf
|
big revision with new information, features, supported methods, list of available globals
|
2024-07-30 11:29:02 -07:00 |
|
Junseo Yoo
|
8be17bff15
|
change typelib.type() to :is(...)
|
2024-07-27 18:11:46 -07:00 |
|
Junseo Yoo
|
f701e882d7
|
some revisions + typelib->type
|
2024-07-25 16:20:03 -07:00 |
|
Junseo Yoo
|
21c55072c3
|
merge newmetatable with newfunction
|
2024-07-25 11:33:01 -07:00 |
|
Junseo Yoo
|
8958a85b3c
|
remove metatable from type
|
2024-07-24 22:43:27 -07:00 |
|
Junseo Yoo
|
5722f85152
|
removed typelib.is*() and added typelib.type() instead
|
2024-07-18 13:06:49 -07:00 |
|
Junseo Yoo
|
86223cfb38
|
Merge branch 'jeremyyoo-user-defined-type-functions' of https://github.com/joonyoo181/luau-lang-rfcs into jeremyyoo-user-defined-type-functions
|
2024-07-18 12:29:23 -07:00 |
|
Junseo Yoo
|
5f490f1d7f
|
remove print() for first iteration
|
2024-07-18 12:29:06 -07:00 |
|
Junseo Yoo
|
a34aec51e5
|
Apply suggestions from code review
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
|
2024-07-18 12:27:18 -07:00 |
|
Junseo Yoo
|
99547c7c18
|
Update docs/user-defined-type-functions.md
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
|
2024-07-18 12:20:52 -07:00 |
|
Junseo Yoo
|
5620eb344e
|
moved stringle, boolean, number to be an instance attribute of typelib
|
2024-07-18 10:52:10 -07:00 |
|
Junseo Yoo
|
500bca4457
|
information about pass by reference and typelib.copy() method
|
2024-07-18 02:12:18 -07:00 |
|
Junseo Yoo
|
859d264917
|
Delete String.getmetatable()
|
2024-07-17 15:37:59 -07:00 |
|
Junseo Yoo
|
8bb94c34ea
|
added parameters to typelib.newmetatable
|
2024-07-16 17:18:12 -07:00 |
|
Junseo Yoo
|
59b2290495
|
Error for returning non-typelib instance
|
2024-07-16 13:31:10 -07:00 |
|
Junseo Yoo
|
ffe9188c98
|
fix arguments of Function.setparameters and Function.setreturns
|
2024-07-15 16:27:24 -07:00 |
|
Junseo Yoo
|
8ec04bc4e0
|
Clarification to typelib.newfunction methods
|
2024-07-15 16:19:31 -07:00 |
|
Junseo Yoo
|
4fdc834c04
|
fix typelib.newfunction
|
2024-07-15 15:10:00 -07:00 |
|
Junseo Yoo
|
5da2e6e441
|
Revised typelib.function
|
2024-07-14 17:36:32 -07:00 |
|
Junseo Yoo
|
7a716e6c77
|
Added parameters to newfunction function
|
2024-07-14 16:35:59 -07:00 |
|
Junseo Yoo
|
1d1bcc947c
|
Added parameters to newtable function
|
2024-07-14 15:54:20 -07:00 |
|
Junseo Yoo
|
f2685c315b
|
Fixed rawget example
|
2024-07-03 14:47:48 -07:00 |
|
Junseo Yoo
|
3babf9bfab
|
== operator overridden with __eq
|
2024-07-03 14:37:01 -07:00 |
|
Junseo Yoo
|
97439cfe5e
|
typelib.nil clashes with the reserved keyword, so changed to typelib.niltype
|
2024-07-03 14:27:38 -07:00 |
|
Junseo Yoo
|
3a77768fae
|
merge addprop() and delprop() into one
|
2024-07-03 13:30:24 -07:00 |
|
Junseo Yoo
|
aa5057a50b
|
addprop(key, ty.nil) != delprop(key)
|
2024-07-03 11:22:14 -07:00 |
|
Junseo Yoo
|
361968f1a8
|
added tbl:getprop(key) to obtain a single value
|
2024-07-03 10:01:51 -07:00 |
|
Junseo Yoo
|
406ea952e4
|
Removed overloading metamethods for now
|
2024-07-03 09:57:28 -07:00 |
|
Junseo Yoo
|
fd981bd74e
|
make nil, unknown, never, any an instance attribute of typelib; merge getindextype/getindexresulttype into one function
|
2024-07-02 19:28:51 -07:00 |
|
Junseo Yoo
|
e0f352a665
|
small fix to reflect table method name change to class method names
|
2024-07-02 14:16:06 -07:00 |
|
Junseo Yoo
|
a6ee5eddad
|
renaming methods, overloading __eq __le __newindex, metatable as representation of tables
|
2024-07-02 14:10:58 -07:00 |
|
Junseo Yoo
|
efa815b920
|
revising typelib library and method descriptions
|
2024-07-02 11:13:52 -07:00 |
|
Junseo Yoo
|
b87e39c578
|
added globals/libraries to a list of illegal constructs
|
2024-07-02 10:03:56 -07:00 |
|
Junseo Yoo
|
60ef9d3f6c
|
using colons instead of periods to invoke method calls
|
2024-07-01 12:09:14 -07:00 |
|
Junseo Yoo
|
db7a65b0da
|
Added indexer methods for Class types
|
2024-07-01 12:03:43 -07:00 |
|
Junseo Yoo
|
1ad250d1c4
|
comment: ~ to not
|
2024-07-01 11:50:16 -07:00 |
|
Junseo Yoo
|
96611f14cb
|
colon to invoke methods
|
2024-07-01 11:48:31 -07:00 |
|