Commit Graph

41 Commits

Author SHA1 Message Date
Fabian Sperber
bce66e3b42 Add or_break and or_continue to the list of tokens that have an automatic semicolon added at the end of the line 2023-10-09 21:48:04 +02:00
gingerBill
648b83d6ea Add or_break and or_continue constructs 2023-09-30 15:04:17 +01:00
gingerBill
44ea82f845 Clean up usage of using throughout core and vendor 2023-07-31 11:46:40 +01:00
gingerBill
90d587df13 Support matrix type in core:odin 2021-10-27 23:49:37 +01:00
Daniel Gavin
a2a7647c90 Fix '>>' operand being tokenized correctly and switch statement with bare semicolon. 2021-09-20 20:12:13 +02:00
gingerBill
ca33cb990b Strip semicolons in core which were missing 2021-09-08 13:12:38 +01:00
gingerBill
251da264ed Remove unneeded semicolons from the core library 2021-08-31 22:21:13 +01:00
gingerBill
4e1c9b71f4 Update core:odin/* for or_else and or_return 2021-08-15 19:05:55 +01:00
gingerBill
dd8fa1d690 Prefer ..= over .. 2021-08-04 00:36:10 +01:00
gingerBill
afff9478c8 Make core:odin/tokenizer be consistent with the compiler's version 2021-08-03 23:27:26 +01:00
Daniel Gavin
44ee0f2cdc Merge branch 'master' into prototype-fmt 2021-05-20 12:15:14 +02:00
gingerBill
df3512b112 Make core:odin use a string for the source rather than []byte 2021-05-16 12:38:27 +01:00
gingerBill
ce08e832f7 Allow ..= alongside .. as a "full range" operator; Update core:odin/parser etc 2021-05-16 12:34:35 +01:00
Daniel Gavin
9c6ab05981 fix tokenizer for ~= and better struct aligning 2021-04-29 00:51:24 +02:00
gingerBill
54e6c50769 Implement f16 functionality 2021-04-01 10:06:00 +01:00
DanielGavin
02bbac0903 changed error 2021-03-30 12:40:40 +02:00
DanielGavin
b8658547e0 Give error if raw literal hits EOF, and stop removing .Using if it exists in flags and allowed_flags. 2021-03-30 12:38:58 +02:00
gingerBill
aa93305015 Replace usage of inline proc with #force_inline proc in the core library 2021-02-23 16:14:47 +00:00
gingerBill
28f279329d Remove bit_field keyword and parsing logic 2021-02-23 15:29:54 +00:00
gingerBill
908a403d78 Add #force_inline, #force_no_inline and #unroll for the transition to deprecate and then remove the keywords inline and no_inline
`inline for` will be replaced with `#unroll for`
2021-02-23 14:37:05 +00:00
DanielGavin
934809397f small fixes to the parser 2020-12-09 21:33:10 +01:00
gingerBill
98c8fde098 Remove unused tokens 2020-12-06 13:17:48 +00:00
gingerBill
ea60db9f53 Add inline asm expression to odin/parser 2020-12-06 01:14:55 +00:00
gingerBill
ca4657fd31 Add custom semicolon insertion to odin/tokenizer and odin/parser 2020-12-06 00:47:58 +00:00
gingerBill
d94414b0f4 Correct ternary if/when parsing 2020-12-06 00:15:35 +00:00
gingerBill
4cf240ca05 Fix odin/parser issues 2020-09-15 22:14:23 +01:00
gingerBill
e92fdb4a99 x if cond else y and x when cond else y expressions 2020-03-05 20:34:30 +00:00
gingerBill
159150c6d9 Allow not_in as keyword over notin, but still allow notin to work 2020-01-16 10:00:14 +00:00
gingerBill
d1c9fd4e01 Implement #complete switch by default, replace with #partial switch #511 2019-12-22 12:03:48 +00:00
gingerBill
1416946757 Add token.odin 2019-10-23 21:42:28 +01:00
gingerBill
939459b635 Change implicit semicolon rules for record types within procedure bodies; Update package odin/* 2019-10-06 19:16:55 +01:00
gingerBill
562b518394 Change print*_err to eprint* in core library 2019-10-06 18:54:29 +01:00
gingerBill
4908d1ebdd Update odin_tokenizer to support quaternion literals 2019-08-26 11:56:04 +01:00
gingerBill
8ee7ee7120 Fix core library for the new procedure parameter addressing mode 2019-07-15 22:16:27 +01:00
gingerBill
9cadd58465 Improve tokenizer slightly 2019-05-28 14:44:32 +01:00
gingerBill
0c8746ada6 Add support for custom keywords in core:odin/* packages 2019-02-25 12:41:43 +00:00
gingerBill
e16409f88a Fix package odin_parser bugs 2019-02-09 22:34:27 +00:00
gingerBill
2b80683fc7 Vet odin/* packages 2019-01-27 19:01:33 +00:00
gingerBill
c72427fd1e package odin_parser 2019-01-26 20:14:06 +00:00
gingerBill
a96bf08266 Fix tokenizer.odin bugs 2019-01-24 21:40:09 +00:00
gingerBill
5ccccf8816 Add package odin/token; package odin/tokenizer 2019-01-24 15:53:17 +00:00