aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.cpp
AgeCommit message (Collapse)Author
2016-05-01implement string escapesAndrew Kelley
2016-04-28add array multiplication operatorAndrew Kelley
2016-04-24fix ability to parse character literalsAndrew Kelley
2016-04-24add skeleton for union supportAndrew Kelley
2016-04-22add syntax to allow symbols to have arbitrary strings as namesAndrew Kelley
2016-04-08fix parsing of hex literal 0xbJosh Wolfe
2016-04-03add multiline string literalAndrew Kelley
and make multiple lines in normal string literals an error
2016-03-01rewrite how importing worksAndrew Kelley
* Introduce the concept of packages. Closes #3 * Add support for error notes. * Introduce `@import` and `@c_import` builtin functions and remove the `import` and `c_import` top level declarations. * Introduce the `use` top level declaration. * Add `--check-unused` parameter to perform semantic analysis and codegen on all top level declarations, not just exported ones and ones referenced by exported ones. * Delete the root export node and add `--library` argument.
2016-02-05parsing code for defer and moreAndrew Kelley
* disable goto and label support see #44 * refactor the way block contexts work
2016-02-01inline is a keyword instead of a directiveAndrew Kelley
2016-01-31parseh understands types better and handles some situations betterAndrew Kelley
See #88 Also, includes partial implementation of typedef top level declaration. See #95 Also, fix function types. Previously the way we were deduping function type pointers was incorrect.
2016-01-29parseh defines can reference other definesAndrew Kelley
2016-01-29parseh understands simple character literal macroAndrew Kelley
2016-01-28fix incorrect loading of files over 8192 bytesAndrew Kelley
2016-01-28parseh recognizes C enumsAndrew Kelley
2016-01-26add c_import top level declAndrew Kelley
see #88
2016-01-25implement compile time string concatenationAndrew Kelley
See #76
2016-01-25implement %% operatorAndrew Kelley
See #23
2016-01-24introduce the error keyword and typeAndrew Kelley
See #23
2016-01-22add undefined reserved wordAndrew Kelley
2016-01-20parsing error value decls and error value literalsAndrew Kelley
and return with '?' or '%' prefix
2016-01-19add switch statement support to parserAndrew Kelley
2016-01-18add for loop which can iterate over arraysAndrew Kelley
See #51
2016-01-15rename "use" to "import"Andrew Kelley
2016-01-14instead of 'as' to cast, call type as functionAndrew Kelley
2016-01-13fix noalias codegenAndrew Kelley
also make some parsing error messages better
2016-01-13all types are now expressionsAndrew Kelley
See #22
2016-01-10parsing enum declarationsAndrew Kelley
2016-01-08rename `restrict` to `noalias`Andrew Kelley
2016-01-08suport checked arithmetic operations via intrinsicsAndrew Kelley
closes #32
2016-01-08add restrict qualifier on pointer argumentsAndrew Kelley
2016-01-07tokenize: detect "..." after a number literalAndrew Kelley
2016-01-07add ?? maybe unwrapping binary operatorAndrew Kelley
add null literal fix number literal / maybe interactions
2016-01-02closer to guess number example workingAndrew Kelley
2015-12-26parse if maybe expressionAndrew Kelley
2015-12-24add while loopAndrew Kelley
2015-12-15more number literal syntax is supported. floats still need workJosh Wolfe
2015-12-15tokenizer parses all number literal typesJosh Wolfe
2015-12-14`const` and `var` instead of `let` and `let mut`Andrew Kelley
closes #34
2015-12-14instead of *mut and *const, & and &constAndrew Kelley
closes #33
2015-12-12codegen and tests for modify operators. closes #16Josh Wolfe
2015-12-12tokenizing assignment operatorsJosh Wolfe
2015-12-12fix a + b + c and similarJosh Wolfe
fix || and && closes #17
2015-12-12prepare codebase for struct and string supportAndrew Kelley
parsing code for structs, strings, and c string literals partial semantic analyzing code for structs, strings, and c string literals
2015-12-10add inline assembly supportAndrew Kelley
2015-12-09fix typoJosh Wolfe
2015-12-09ability to call external variadic functionsAndrew Kelley
2015-12-07getting started on array typesJosh Wolfe
2015-12-03add bool literalsJosh Wolfe
2015-12-03add labels and gotoAndrew Kelley