aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.cpp
AgeCommit message (Collapse)Author
2017-03-16introduce new test syntaxAndrew Kelley
* remove setFnTest builtin * add test "name" { ... } syntax * remove --check-unused argument. functions are always lazy now.
2017-02-12fix tokenization assertion failure on some float numbersAndrew Kelley
See #258
2017-02-03implement packed structsAndrew Kelley
closes #183
2017-02-02add try expressionAndrew Kelley
See #83
2017-01-22use comptime instead of inline for var and paramsAndrew Kelley
See #221
2017-01-16get rid of zeroes literalAndrew Kelley
closes #222
2016-09-28remove compiler directivesAndrew Kelley
* add `setFnTest`, `setFnVisible`, `setFnStaticEval`, `setFnNoInline` builtin functions to replace previous directive functionality * add `coldcc` and `nakedcc` as keywords which can be used as part of a function prototype. * `setDebugSafety` builtin can be used to set debug safety features at a per block scope level. * closes #169
2016-09-26add this keyword refers to thing in immediate scopeAndrew Kelley
See #169
2016-09-19use size_t for indexesAndrew Kelley
protect against incorrect copies in debug mode
2016-09-06build: add missing static in tokenizerAndrew Kelley
2016-08-29tokenizer: add missing return statement on float overflowAndrew Kelley
closes #177
2016-08-08add zeroes valueAndrew Kelley
2016-08-04implement multiline C string syntaxAndrew Kelley
2016-08-04new multiline string syntaxAndrew Kelley
This patch also moves a bunch of the parser code into the tokenizer. Closes #162.
2016-07-27remove multiline commentsAndrew Kelley
closes #161
2016-07-27explicit wrapping integer operationsAndrew Kelley
instead of wrapping integer types closes #159
2016-07-09fix tokenizing string symbols with hex characters in themAndrew Kelley
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