Commit Graph

9656 Commits

Author SHA1 Message Date
Platin21
9c1e1a63a2 Added pattern function so we can match whatever llvm versions we want
Right now we match every version that is 13 something for arm64 on macOS
And for x86 we allow any above 11 and including 11
2022-01-22 20:29:57 +01:00
gingerBill
4dc5839e3d Add header-lower.txt.html 2022-01-22 17:09:10 +00:00
gingerBill
fdcb9deaff Generate core and vendor library collection; add package sidebar for the entire collection 2022-01-22 17:07:24 +00:00
gingerBill
fe6539fad9 Add more to examples/all/all_vendor.odin 2022-01-22 17:03:55 +00:00
Platin21
0e06383620 Changed make file so that it allows for multiple LLVM versions instead of a single one on Darwin 2022-01-22 17:34:43 +01:00
gingerBill
6223f48c3f Update tests 2022-01-20 20:08:24 +00:00
gingerBill
f2f20def37 Update demo.odin 2022-01-20 20:02:41 +00:00
gingerBill
77b91352ae Add Odin_OS_Type and Odin_Arch_Type to core:runtime 2022-01-20 19:58:35 +00:00
gingerBill
3d7d347192 Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings 2022-01-20 19:56:05 +00:00
CiD-
e5868e3205 add zeroing regardless of ODIN_OS 2022-01-20 10:17:47 -05:00
gingerBill
cfbc1a447b Correct inverse and inverse_transpose for 2x2 matrices 2022-01-20 13:18:37 +00:00
gingerBill
1b23dd2257 Add home page 2022-01-20 01:02:26 +00:00
gingerBill
b612edba5a Improve detail styling 2022-01-20 00:36:44 +00:00
gingerBill
d39c05b183 Simplify tag printing 2022-01-20 00:19:58 +00:00
gingerBill
3a3cb521ab Support tag printing 2022-01-20 00:19:24 +00:00
gingerBill
5b97ff0b48 General improves including comment formatting 2022-01-20 00:13:26 +00:00
gingerBill
2b918ada4b Add .Private information to doc-format 2022-01-19 17:15:10 +00:00
gingerBill
b5754b6ed9 Print examples correctly 2022-01-19 16:35:50 +00:00
gingerBill
07ee23f817 Simplify dir tree generation 2022-01-19 16:28:01 +00:00
gingerBill
ecdaac9921 Unify are_types_identical_unique_tuples 2022-01-19 15:14:15 +00:00
gingerBill
5ff82fc113 Correct tuple name checking for doc writing 2022-01-19 15:11:42 +00:00
gingerBill
28a816ef25 Allow for entity grouping in structs and procedure signatures with the Odin doc-format 2022-01-19 14:57:27 +00:00
gingerBill
6bdb210ad8 More improvements to the styling 2022-01-19 13:34:54 +00:00
gingerBill
db08847f9a Improve rendering to match the main website's CSS 2022-01-19 13:20:38 +00:00
gingerBill
841c428273 Merge pull request #1433 from odin-lang/html-docs-printer
Initial Work on HTML Docs Printer
2022-01-18 11:03:41 +00:00
gingerBill
6b830f42b6 Improve stylization with collapsible directories; Fix name padding 2022-01-17 23:48:46 +00:00
gingerBill
fb01dfe048 Improve docs_writer.cpp 2022-01-17 22:17:07 +00:00
gingerBill
c7a9c8274f Improve type printing 2022-01-17 22:16:32 +00:00
gingerBill
cafb6e5587 Correct //+private for odin doc 2022-01-17 21:33:20 +00:00
gingerBill
e9ae6e20e8 Fix code, source code links, and add recursive make directory 2022-01-17 20:50:40 +00:00
gingerBill
2ca2dbcc92 Correct distinct printing 2022-01-17 19:23:24 +00:00
gingerBill
0d4642825f Correct package docs parsing 2022-01-17 19:07:25 +00:00
gingerBill
8eda756714 Add printing for constants, variables, types, and procedure groups 2022-01-17 19:01:16 +00:00
gingerBill
c85ac955f7 Simplify docs to hide the copyright 2022-01-17 19:00:47 +00:00
gingerBill
97922406fe Improve printing for record types 2022-01-17 18:23:30 +00:00
gingerBill
76ccce2942 Begin work on a html doc printer 2022-01-17 17:57:55 +00:00
gingerBill
686dbb4421 Correct odin doc comment printing 2022-01-17 14:43:42 +00:00
gingerBill
cd6898439e Comment out link_section on procedures 2022-01-17 12:17:13 +00:00
Daniel Gavin
96d7c4ffdf Merge remote-tracking branch 'upstream/master' into parser-fix 2022-01-17 13:15:44 +01:00
gingerBill
95620aaf2a Update examples/all 2022-01-17 11:48:15 +00:00
gingerBill
1d293749c2 Move core:path to core:path/slashpath
This is to reduce the confusion that occurs between that package and the `core:path/filepath` package
2022-01-17 11:38:15 +00:00
gingerBill
2d35a5c1af Merge pull request #1431 from AquaGeneral/master
Extraneous parameters in hlsl/glsl.saturate removed
2022-01-17 10:52:19 +00:00
Jesse Stiller
d4ea02a877 Extraneous parameters in hlsl/glsl.saturate removed
This is a breaking change to anyone who used glsl/hlsl.saturate functions prior, but the y and z parameters never were used and do not conform to how the saturate function works in HLSL:  https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-saturate

Note however GLSL does not contain a saturate function, but removing it does not accomplish anything good IMO.
2022-01-17 12:19:06 +10:00
Daniel Gavin
f19325cbe0 Merge remote-tracking branch 'upstream/master' into parser-fix 2022-01-16 13:54:22 +01:00
gingerBill
2a325b3da0 Update ODIN_ENDIAN usage 2022-01-16 12:25:39 +00:00
Daniel Gavin
d57ec4a11d Fix return stmt when it's one lined(check for close brace). 2022-01-16 13:20:12 +01:00
gingerBill
f0529535e0 ODIN_ENDIAN changed to an enum constant; ODIN_ENUM_STRING is the new string version of the old constant 2022-01-15 17:53:18 +00:00
gingerBill
3f59c45740 Remove main creation in llvm_backend.cpp and have it done purely in the runtime package (partial bootstrapping) 2022-01-15 17:42:10 +00:00
gingerBill
29ebe0c3c9 Rename architecture 386 to i386 2022-01-15 17:40:00 +00:00
gingerBill
6c48670819 Make ODIN_BUILD_MODE a enum type 2022-01-15 17:34:35 +00:00