191 Commits

Author SHA1 Message Date
gingerBill
d95c28f41b Fix demo docs 2024-01-28 21:39:18 +00:00
gingerBill
e57224d6e4 Fix demo 2024-01-28 21:30:08 +00:00
gingerBill
0b83e3dae5 Enforce naming the parameters with builtin.quaternion to reduce confusion 2024-01-05 14:29:14 +00:00
Gary Chike
269957b9fb Update demo.odin
Appears that 'to' and 'abstract' were inverted.
2023-12-21 16:23:00 -05:00
Jeroen van Rijn
4aa8834d39 Add os.args to demo. 2023-11-27 21:01:27 +01:00
gingerBill
648b83d6ea Add or_break and or_continue constructs 2023-09-30 15:04:17 +01:00
gingerBill
d9a2d29d00 Update demo.odin to #align(N) style 2023-08-15 15:59:38 +01:00
gingerBill
cd74cdfdaf Remove switch in in favour of switch _ in 2023-08-08 14:57:25 +01:00
gingerBill
49ab935ae9 Disallow for in in favour of for _ in 2023-08-08 14:56:12 +01:00
gingerBill
006bd2fe17 Merge pull request #2696 from hwchen/hwchen/fix-parse-call-expr-ellipses
core:odin/parser allow args after varargs in parse_call_expr
2023-08-05 17:07:28 +01:00
gingerBill
dd7c2c0574 Update demo for #relative multi-pointers 2023-08-05 16:09:19 +01:00
Walther Chen
4b9afd787c core:odin/parser allow args after varargs in parse_call_expr 2023-08-03 22:45:21 -04:00
gingerBill
60e509b1e0 Add separate -vet flags; -vet-using-* flags; //+vet file flags 2023-07-31 11:09:19 +01:00
gingerBill
9b54b99bf6 Use positional and named arguments within the core library 2023-06-21 01:17:05 +01:00
gingerBill
feacc5cd11 Basic enforcement of ordered named arguments/parameters for procedures 2023-06-14 14:03:08 +01:00
Damian Tarnawski
c3933cead4 Replace 0 with os.ERROR_NONE in demo.odin 2023-06-11 23:41:26 +02:00
Elusive Porpoise
223ae61c89 added error printing 2023-05-19 11:36:53 -07:00
Elusive Porpoise
eff4833840 remove misleading example 2023-05-08 23:13:27 -07:00
Jeroen van Rijn
edba99d636 Revert "Use sync.Mutex rather than a spin lock for the threading example"
This reverts commit 8d1f46d837.
2022-08-05 15:03:09 +02:00
gingerBill
8d1f46d837 Use sync.Mutex rather than a spin lock for the threading example 2022-08-05 12:45:26 +01:00
gingerBill
7002f0a7d7 Update demo.odin 2022-05-23 12:07:44 +01:00
Jeroen van Rijn
8fb718245a Implement pthread_cancel. 2022-05-11 15:52:04 +02:00
Florian Behr
1fb76ad768 change usage in demo.odin 2022-04-25 13:41:19 +02:00
gingerBill
f2f1330238 Add https://github.com/odin-lang/examples 2022-04-08 10:29:23 +01:00
gingerBill
22b961ea53 Update Thread Pool in core:thread
Thanks to the work of eisbehr
2022-03-31 11:55:46 +01:00
gingerBill
94dbac9a64 Disable thread pool in demo 2022-03-31 01:13:43 +01:00
gingerBill
46161f7e19 threading_example allow on Darwin 2022-03-30 16:28:16 +01:00
gingerBill
ffe6d81ecd Remove comments 2022-03-14 12:24:10 +00:00
gitlost
b94a7a87fa Fix issue #1574 "fract in linalg/glm is broken" by fixing
trunc_f16/32/64 in "math.odin" (~ typos on expressions)
Fix classify_f16 Inf test (would fail for subnormal 0h0001)
  by changing multiplier 0.5 -> 0.25
Add some useful consts to "math.odin" (INF_F16 etc)
Add comment to "demo.odin" mentioning that -0.0 must be used
  to specify negative zero
2022-03-08 18:06:25 +00:00
gingerBill
276e014d18 Update comment in demo.odin 2022-02-19 15:45:01 +00:00
gingerBill
f5697dd7f2 Merge branch 'master' into odin-global-constants-as-enums 2022-02-15 15:47:24 +00:00
gingerBill
6418ec3b21 Correct #sparse usage and error messages 2022-02-05 13:09:16 +00:00
gingerBill
f2f20def37 Update demo.odin 2022-01-20 20:02:41 +00:00
gingerBill
83be954efd Minor spelling change 2021-11-07 14:16:05 +00:00
gingerBill
1980f32bd6 Correct demo.odin 2021-11-04 00:50:48 +00:00
gingerBill
9ab71ca0da Add ODIN_NO_CRT global constant 2021-11-04 00:50:28 +00:00
gingerBill
e2e9b5d3b0 Remove comments 2021-11-01 23:04:00 +00:00
gingerBill
b01e0fbbc2 Correct typo in soa data type debug information generation 2021-11-01 23:00:42 +00:00
Jeroen van Rijn
2a0311797c Don't run demo's soa_struct when under -debug. 2021-11-01 17:57:35 +01:00
gingerBill
70793236ab Support llvm_vector_reduce_add if the LLVM intrinsic is not supported 2021-10-28 00:57:10 +01:00
gingerBill
0a1ef1e59d Improve comment 2021-10-28 00:50:03 +01:00
gingerBill
5b7f273165 Add matrix_type to demo.odin 2021-10-28 00:49:09 +01:00
strager
31daf80aea Fix indentation typo 2021-09-21 23:02:15 -07:00
Jeroen van Rijn
48bfce2efc demo: Fix typo. 2021-09-06 23:32:32 +02:00
Jeroen van Rijn
5619b349be big: Remove core:fmt usage + Add a little demo to examples/demo. 2021-09-06 23:26:19 +02:00
gingerBill
3bf005bfc5 Remove redundant semicolons from comments 2021-09-06 20:05:41 +01:00
gingerBill
72a741554c Remove unneeded semicolons from demo 2021-08-31 22:45:26 +01:00
gingerBill
b810781368 Remove unneeded semicolon from examples/demo and examples/all 2021-08-31 22:33:53 +01:00
gingerBill
01a888fced Update import path 2021-08-21 14:09:48 +01:00
gingerBill
e023b96737 Remove json import from demo 2021-08-18 22:33:18 +01:00