| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add range-based error messages to `-verbose-errors` | gingerBill | 2021-05-19 | 1 | -124/+34 | |
| | | | | | | | | | Example: Cannot convert '(1 + 2)' to 'untyped bool' from 'untyped integer' x := (1 + 2) * true; ^~~~~~^ | |||||
| * | Replace `error` calls with `Token` to use `TokenPos` | gingerBill | 2021-05-19 | 1 | -4/+4 | |
| | | ||||||
| * | Add `-verbose-errors` which shows the error in the line of code | gingerBill | 2021-05-19 | 1 | -0/+43 | |
| | | ||||||
| * | Allow `..=` alongside `..` as a "full range" operator; Update ↵ | gingerBill | 2021-05-16 | 1 | -8/+10 | |
| | | | | | `core:odin/parser` etc | |||||
| * | Tokenize `++` and `--` as tokens but disallow them in the parser, and give ↵ | gingerBill | 2021-05-15 | 1 | -8/+25 | |
| | | | | | better error messages for they are used as operators/statements | |||||
| * | Disallow duplicate unary operators for `+`, `-`, and `~` | gingerBill | 2021-05-15 | 1 | -3/+13 | |
| | | ||||||
| * | Fix #746 | gingerBill | 2021-05-12 | 1 | -8/+9 | |
| | | ||||||
| * | Unify `AstTernaryExpr` with `AstTernaryIfExpr` | gingerBill | 2021-05-05 | 1 | -14/+1 | |
| | | | | | | Allow for both syntaxes `x if cond else y` and `cond ? x : y` Removes the confusing semantics behind `?:` which could be `if` or `when` depending on the context. | |||||
| * | Fix missing newline check | gingerBill | 2021-05-04 | 1 | -0/+2 | |
| | | ||||||
| * | Add missing `skip_possible_newline_for_literal` calls | gingerBill | 2021-05-03 | 1 | -1/+5 | |
| | | ||||||
| * | Fix parsing error for `for` | gingerBill | 2021-05-02 | 1 | -1/+1 | |
| | | ||||||
| * | Add extra check for `#no_bounds_check` etc being followed by a newline or ↵ | gingerBill | 2021-05-01 | 1 | -16/+15 | |
| | | | | | empty statement | |||||
| * | Simplify/Fix the state_flag behaviour for code generation | gingerBill | 2021-05-01 | 1 | -0/+8 | |
| | | ||||||
| * | Add "naked" calling convention (removes prologue and epilogue) | gingerBill | 2021-04-28 | 1 | -0/+1 | |
| | | ||||||
| * | Make compound literals require trailing commas if followed by a newline | gingerBill | 2021-04-26 | 1 | -0/+3 | |
| | | ||||||
| * | Change expr_level increment rules within a compound literal | gingerBill | 2021-04-26 | 1 | -2/+0 | |
| | | ||||||
| * | Fix constant aliasing for debug information | gingerBill | 2021-04-26 | 1 | -0/+4 | |
| | | ||||||
| * | Fix logic for `\n` ignoring | gingerBill | 2021-04-26 | 1 | -0/+9 | |
| | | ||||||
| * | Correct `\n` ignore rules | gingerBill | 2021-04-26 | 1 | -3/+10 | |
| | | ||||||
| * | Make -strict-style the default #871 | gingerBill | 2021-04-26 | 1 | -10/+5 | |
| | | ||||||
| * | Move out some intrinsics into separate procedures in llvm_backend.cpp; ↵ | gingerBill | 2021-04-24 | 1 | -22/+22 | |
| | | | | | Rename `InlineRangeStmt` to `UnrollRangeStmt` (eventually merge the two AST nodes) | |||||
| * | Improve `#optional_ok` logic for procedures; Add `#optional_second` for ↵ | gingerBill | 2021-04-19 | 1 | -0/+1 | |
| | | | | | `package runtime` usage | |||||
| * | Experiment with new grammatical parsing rule for expression level ↵ | gingerBill | 2021-03-30 | 1 | -6/+34 | |
| | | | | | (-strict-style) idea | |||||
| * | Add basic error correction in `parser` to check for unattached `else` | gingerBill | 2021-03-26 | 1 | -0/+27 | |
| | | ||||||
| * | Add better package declaration specific error message (#878) | gingerBill | 2021-03-24 | 1 | -0/+5 | |
| | | ||||||
| * | Make the parser support as many identifiers on the LHS in `for in` loops to ↵ | gingerBill | 2021-03-24 | 1 | -22/+6 | |
| | | | | | improve error messages | |||||
| * | Improve error message in parser | gingerBill | 2021-03-23 | 1 | -2/+2 | |
| | | ||||||
| * | Allow `$` in polymorphic record parameter fields (but disallow mixing) | gingerBill | 2021-03-23 | 1 | -3/+10 | |
| | | ||||||
| * | Change from `test_*` prefix to `@(test)` attribute for `odin test` | gingerBill | 2021-03-14 | 1 | -0/+1 | |
| | | ||||||
| * | `odin test` to work with the new `core:testing` package | gingerBill | 2021-03-14 | 1 | -1/+15 | |
| | | ||||||
| * | Add support for backslash \ to consume a newline | gingerBill | 2021-03-14 | 1 | -5/+0 | |
| | | ||||||
| * | Simplify `expect_semicolon_newline_error` rule | gingerBill | 2021-03-13 | 1 | -18/+13 | |
| | | ||||||
| * | Remove `&& false` from test code | gingerBill | 2021-03-13 | 1 | -1/+1 | |
| | | ||||||
| * | Add `-strict-style` flag: Enforces code style stricter whilst parsing, ↵ | gingerBill | 2021-03-13 | 1 | -11/+73 | |
| | | | | | requiring such things as trailing commas | |||||
| * | Minimize TokenPos size by using `i32` for line/column/offset and file_id ↵ | gingerBill | 2021-03-04 | 1 | -6/+16 | |
| | | | | | | | instead of `String` To make `i32` safe, the parser limits the file size of odin files to a maximum of 2GiB (which will be good enough for the vast vast majority of cases) | |||||
| * | Add `#force_inline` parsing directly to expression statements | gingerBill | 2021-02-25 | 1 | -0/+4 | |
| | | ||||||
| * | Remove `#force_inline for` and only have `#unroll for` | gingerBill | 2021-02-25 | 1 | -1/+1 | |
| | | ||||||
| * | Build tag to make all declarations within a file private to the package ↵ | gingerBill | 2021-02-23 | 1 | -0/+2 | |
| | | | | | `//+private` | |||||
| * | Add deprecation message for `inline` and `no_inline` to use `#force_inline` ↵ | gingerBill | 2021-02-23 | 1 | -0/+2 | |
| | | | | | and `#force_no_inline` instead | |||||
| * | Remove `#opaque` types | gingerBill | 2021-02-23 | 1 | -12/+2 | |
| | | ||||||
| * | Remove `bit_field` keyword and parsing logic | gingerBill | 2021-02-23 | 1 | -60/+0 | |
| | | ||||||
| * | Remove `#opaque` usage in core library | gingerBill | 2021-02-23 | 1 | -16/+0 | |
| | | ||||||
| * | Deprecate `inline for` in favour of `#unroll for` | gingerBill | 2021-02-23 | 1 | -23/+3 | |
| | | ||||||
| * | Add `#force_inline`, `#force_no_inline` and `#unroll` for the transition to ↵ | gingerBill | 2021-02-23 | 1 | -78/+98 | |
| | | | | | | | deprecate and then remove the keywords `inline` and `no_inline` `inline for` will be replaced with `#unroll for` | |||||
| * | Remove `"pure"` and `"pure_none"` calling conventions | gingerBill | 2021-02-23 | 1 | -2/+0 | |
| | | ||||||
| * | Remove `opaque` keyboard | gingerBill | 2021-02-23 | 1 | -11/+3 | |
| | | ||||||
| * | Add extra error checking in parser.cpp | gingerBill | 2021-01-15 | 1 | -0/+13 | |
| | | ||||||
| * | Improve -insert-semicolon rules | gingerBill | 2020-12-09 | 1 | -6/+3 | |
| | | ||||||
| * | Fix typos for `-insert-semicolon` | gingerBill | 2020-12-09 | 1 | -10/+10 | |
| | | ||||||
| * | Merge branch 'master' into parser-experiments | gingerBill | 2020-12-06 | 1 | -100/+184 | |
| |\ | ||||||