aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.c
Commit message (Collapse)AuthorAgeFilesLines
* Build as C++Ginger Bill2017-06-081-977/+0
|
* Make `rune` a basic type and not an alias; Remove `byte`Ginger Bill2017-06-061-3/+3
|
* `bit_field`; Lexical sugar operators ≠ ≤ ≥Ginger Bill2017-06-031-0/+5
| | | | | | | | | | | | | | | | | Example below: // See: https://en.wikipedia.org/wiki/Bit_field BoxProps :: bit_field { opaque : 1, fill_colour : 3, _ : 4, show_border : 1, border_colour : 3, border_style : 2, _ : 2, width : 4, height : 4, _ : 8, }
* Remove `quaternion128` and `quaternion256` as core typesGinger Bill2017-06-011-3/+1
|
* `default:` to `case:`; `no_alias` to `#no_alias`Ginger Bill2017-05-271-3/+0
|
* Add %% operator (divisor modulo)Ginger Bill2017-05-091-1/+4
|
* Fix issue #63 for block comments not terminating at an EOFGinger Bill2017-05-091-1/+3
|
* Fix subtype polymorphism implicit conversionGinger Bill2017-04-301-3/+0
|
* Syntax change: cast(T)x => T(x); union_cast(T)x => x.(T); transmute(T)x => ↵Ginger Bill2017-04-301-17/+19
| | | | | | transmute(T, x); `y:=^x` => `y:=&x;` Sorry for all the code breaking in this commit :(
* Fix issue #51; begin work on `atomic` typesGinger Bill2017-04-281-0/+1
|
* Change interval syntax: .. open range, ..< half-closed rangeGinger Bill2017-04-201-2/+2
|
* Fix bug with union literal checking crashing the compilerGinger Bill2017-04-181-2/+2
|
* Fix error printing for basic directivesGinger Bill2017-04-171-16/+16
|
* Fix `map` assignment bug due to growthGinger Bill2017-04-111-0/+2
|
* Basic Linux Build!Ginger Bill2017-04-091-1/+1
|
* Fix issue #31; Removed `down_cast`Ginger Bill2017-04-041-1/+0
|
* len, cap, make; remove .count, .capacity, new_sliceGinger Bill2017-04-021-4/+6
|
* Add Quaternions: quaternion128, quaternion256Ginger Bill2017-04-011-1/+3
|
* Complex numbers: complex64 complex128Ginger Bill2017-04-011-3/+9
|
* Add branch labels for loops; using listGinger Bill2017-03-191-18/+18
|
* Ellipsis is now just `..`; Remove half-closed range operator and treat all ↵Ginger Bill2017-02-261-9/+31
| | | | of them as half-closed; slice expression uses `..`;
* ++ -- statements; add strconv.odin (and replace some of the fmt procs); Fix ↵Ginger Bill2017-02-261-9/+9
| | | | ~ on 64 bit constants; Fix integer casts from smaller to larger size
* Prevent `cast` on pointer to union typesGinger Bill2017-02-141-0/+2
|
* Reimplement `immutable` with different rules.Ginger Bill2017-02-141-0/+1
|
* v0.1.0v0.1.0Ginger Bill2017-02-111-44/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added: * Dynamic Arrays `[...]Type` * Dynamic Maps `map[Key]Value` * Dynamic array and map literals * Custom struct alignemnt `struct #align 8 { bar: i8 }` * Allow `_` in numbers * Variadic `append` * fmt.sprint* * Entities prefixes with an underscore do not get exported on imports * Overloaded `free` for pointers, slices, strings, dynamic arrays, and dynamic maps * enum types have an implict `names` field, a []string of all the names in that enum Removed: * Maybe/option types * immutable variables * Remove `type` keyword and other "reserved" keywords * `compile_assert` and `assert`return the value of the condition for semantic reasons Changed: * thread_local -> #thread_local * #include -> #load * Files only get checked if they are actually used * match x in y {} // For type match statements * Version numbering now starts from 0.1.0 and uses the convention: - major.minor.patch Fixes: * Many fmt.* fixes To come very Soon™: * Linux and OS X builds (unofficial ones do exist already)
* Dynamic array syntax [...]Type; make entities private with a prefix of `_`; ↵Ginger Bill2017-02-111-4/+4
| | | | fix extension checking
* Remove need for `type` keywordGinger Bill2017-02-101-123/+82
|
* Remove Maybe type; Enum `names`Ginger Bill2017-02-101-7/+9
|
* Custom struct alignmentGinger Bill2017-02-051-0/+1
|
* Change internals of `context`; Disable `immutable`Ginger Bill2017-02-011-2/+6
|
* Dynamic arraysGinger Bill2017-01-291-25/+24
|
* Overloaded `free`; 3 dotted ellipsisv0.0.6aGinger Bill2017-01-281-2/+4
|
* Remove while loop and readd c-style for loops i.e. all loops are just `for`Ginger Bill2017-01-271-1/+0
|
* `in` keyword for `for` and `match type`Ginger Bill2017-01-271-8/+5
|
* Fix utf8 stuff, Allow _ in numbers, Begin writing next demo code.Ginger Bill2017-01-271-15/+18
|
* Change casting syntax: `cast(T)x` `transmute(T)x` et al.Ginger Bill2017-01-251-1/+4
|
* `using` `immutable` `thread_local` on variable declarationsGinger Bill2017-01-191-0/+1
|
* `immutable` field prefixGinger Bill2017-01-191-0/+1
|
* Closed range `...` (both inclusive); Type comparisons with == and !=Ginger Bill2017-01-191-13/+13
|
* Change cast syntax, int(x), []byte(s), (^int)(p)Ginger Bill2017-01-171-60/+60
|
* Comma for all field separators; Overloaded procedures follow exportation rulesGinger Bill2017-01-171-3/+3
|
* Best viable overloading procedure algorithm; `no_alias`; call expr style castsGinger Bill2017-01-171-0/+1
|
* Fix build error caused by invalid iterator types in `for`v0.0.5cGinger Bill2017-01-051-0/+4
|
* Fix line comments at the end of filev0.0.5bGinger Bill2017-01-051-1/+1
|
* `while`; `range` is now `for`; remove ++ and --Ginger Bill2017-01-031-7/+8
|
* Interval expressions in `range`Ginger Bill2017-01-031-7/+46
|
* `range` statementGinger Bill2017-01-021-4/+0
|
* Fix parameter/field lists and #import #include syntaxGinger Bill2017-01-021-3/+2
|
* Begin transition to Jai-like syntaxGinger Bill2017-01-011-2/+2
|
* Add enum type info and fix enum castingGinger Bill2017-01-011-1/+0
|