35 Commits

Author SHA1 Message Date
Rerumu
830727d8d4 Add copysign and nearest to runtimes 2022-05-21 15:51:31 -04:00
Rerumu
8d671b99e4 Expand runtimes a bit more 2022-05-21 04:18:29 -04:00
Rerumu
ce54d834a5 Add shortcuts for native operations 2022-05-21 04:11:04 -04:00
Rerumu
6c57a0dd11 Remove unsupported fast paths 2022-05-21 02:52:04 -04:00
Rerumu
8792a123f4 Fix and optimize conditionals 2022-05-21 02:52:02 -04:00
Rerumu
121774082e Fix typo in export 2022-05-21 02:51:18 -04:00
Rerumu
bd49fd55a4 Fix unsigned literal emit 2022-05-21 02:51:15 -04:00
Rerumu
a3d43ebe16 Fix bad runtime name 2022-05-21 02:50:14 -04:00
Rerumu
3fa4fa5d83 Link integer emit and runtime 2022-05-21 02:50:11 -04:00
Rerumu
aea1df4e90 Add integer comparisons 2022-05-21 02:48:14 -04:00
Rerumu
f7978ec402 Optimize memory instance caching 2022-05-21 02:48:11 -04:00
Rerumu
642711e67d Fix infix generation 2022-05-21 02:47:27 -04:00
Rerumu
d5c9028be4 Start adding integer support for Luau 2022-05-21 02:47:27 -04:00
Rerumu
0366a74d0a Freeze integer types 2022-05-21 02:47:27 -04:00
Rerumu
30358c8205 Remove signedness test for unsigned constructor 2022-05-21 02:47:27 -04:00
Rerumu
2a6033c6f4 Improve numeric from_u64 and shifting 2022-05-21 02:47:27 -04:00
Rerumu
81fbbd455f Refactor some numeric operations 2022-05-21 02:47:27 -04:00
Rerumu
c7d640b17e Make Luau integers use free functions 2022-05-21 02:47:27 -04:00
Rerumu
d94be2d832 Remove unneeded pubs 2022-05-21 00:18:12 -04:00
Rerumu
25050a0c5a Wrap import names too 2022-05-20 23:01:42 -04:00
Rerumu
935fc86607 Wrap export names to prevent weird characters 2022-05-20 20:27:19 -04:00
Rerumu
0e92163cb3 Fix constant generation 2022-05-19 17:09:44 -04:00
Rerumu
0278458c15 Remove load/store offset when 0 2022-04-30 00:13:44 -04:00
Rerumu
7913dd507a Factor out operator analysis and simplify output 2022-04-29 23:30:55 -04:00
Rerumu
313d8cbbc2 Fix up Luau numeric library 2022-04-29 20:15:31 -04:00
Rerumu
e4dc725ec0 Fix empty function list fail 2022-04-27 05:41:55 -04:00
Rerumu
85e0e2276a Add automatic releasing 2022-04-27 04:49:14 -04:00
Rerumu
6b0a704ebb Refactor Luau codegen 2022-04-27 04:35:57 -04:00
Rerumu
1fda67d6d3 Rename some AST parts to be less odd 2022-04-26 05:03:54 -04:00
Rerumu
12e2799914 Use new Rust write behavior 2022-04-26 02:05:44 -04:00
Rerumu
b6664aacfd Fix bad local variable generation 2022-04-25 18:29:06 -04:00
Rerumu
5e955efcbd Refactor some messy code 2022-04-25 18:07:40 -04:00
Rerumu
e7b36a7d94 Unify integer types and simplify some code 2022-04-22 21:57:43 -04:00
Rerumu
233aee2c5e Simplify type and local handling 2022-04-22 04:01:10 -04:00
Rerumu
22ea8910ad Re-structure and decouple AST from generator 2022-02-08 17:39:14 -05:00