Commit Graph

5374 Commits

Author SHA1 Message Date
Platin21
8516e2e7e3 Changed match to be arbitrary width
(cant do exact match as we never know how much subversion's llvm does)
2022-01-22 20:50:05 +01:00
Platin21
9bc5b84c4d Removes maybe unsupported versions 2022-01-22 20:40:04 +01:00
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
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
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
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
gingerBill
2a325b3da0 Update ODIN_ENDIAN usage 2022-01-16 12:25:39 +00: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
gingerBill
51dcbc80c3 Add LLVMAddMergedLoadStoreMotionPass on -debug -opt:0 2022-01-15 16:26:14 +00:00
gingerBill
9ecbadd457 Simplify procedure parameters callee logic 2022-01-15 16:16:11 +00:00
gingerBill
79f32d7b71 Remove unused lbDefer kind 2022-01-15 16:03:37 +00:00
gingerBill
7501cc2f17 Remove dead code 2022-01-15 16:01:23 +00:00
gingerBill
a390ef41f8 Fix swizzle logic within lb_build_assign_stmt_array 2022-01-15 15:55:01 +00:00
gingerBill
bb9c2f7aad Merge branch 'master' of https://github.com/odin-lang/Odin 2022-01-15 15:38:15 +00:00
gingerBill
6aa80ee8e4 Correct _start as an entry point 2022-01-15 15:38:09 +00:00
Jeroen van Rijn
0741bc37cc Merge pull request #1427 from oskarnp/macos-linker-fix
Fix invalid linker flags passed to clang on macOS
2022-01-14 17:05:28 +01:00
oskarnp
c6ed3fa4b5 Fix invalid linker flags passed to clang on macOS 2022-01-14 10:48:41 -05:00