aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/parser.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-03-18Support function callsLibravatar Nathan Lapel1-9/+57
2020-01-29Move parser into askama_sharedLibravatar Dirkjan Ochtman1-3/+3
2020-01-12Support escaping in string literalsLibravatar Tuomas Siipola1-20/+30
Do not attempt to parse escape sequences thoroughly. Instead let the Rust compiler to check the string literals and provide nice error messages if necessary.
2020-01-03Support char literalsLibravatar Tuomas Siipola1-2/+30
2020-01-02Clean up clippy warningsLibravatar Dirkjan Ochtman1-16/+13
2019-11-11Migrate to non-macro combinatorsLibravatar Dirkjan Ochtman1-541/+709
2019-11-11Upgrade to nom 5Libravatar Dirkjan Ochtman1-94/+90
2019-10-09Remove use of deprecated nom macroLibravatar Dirkjan Ochtman1-1/+1
2019-10-08Add support for boolean literalsLibravatar Dave Poulter1-0/+7
2019-07-11Implement selected clippy recommendations.Libravatar Bardi Harborow1-1/+1
2019-05-04Simplify parser with nom's list combinatorsLibravatar James Gilles1-121/+44
2019-04-18WIP: Add raw blockLibravatar Pavel Fokin1-1/+22
2019-03-18Allow Rust macro calls in more places (see #226)Libravatar Dirkjan Ochtman1-2/+2
2019-01-08Allow trailing commas in tuples (#188)Libravatar yossyJ1-0/+1
2019-01-08Add support for #![feature(non_ascii_idents)]Libravatar yossyJ1-2/+7
2019-01-04Add support for tupleLibravatar yossyJ1-2/+22
2018-12-13fix rust macro argumentsLibravatar Juan Aguilar Santillana1-6/+57
2018-12-12Allow using brackets for enums in `match`Libravatar mcarton1-4/+50
2018-12-08Use 2018 edition idiomsLibravatar Dirkjan Ochtman1-2/+2
2018-12-08Upgrade to 2018 editionLibravatar Dirkjan Ochtman1-3/+3
2018-10-07Add Rust macro support at templatesLibravatar bott1-1/+12
2018-10-05Fix deprecated tag s! in favor of tag!Libravatar bott1-83/+83
2018-10-05Fix fmt at parser.rsLibravatar bott1-28/+42
2018-10-05Add changing delimiters supportLibravatar bott1-68/+106
2018-07-02Clean up according to clippy suggestionsLibravatar Dirkjan Ochtman1-1/+1
2018-06-23Add support for range operators (see #95)Libravatar Dirkjan Ochtman1-1/+21
2018-06-23Add support for Index operation (see #95)Libravatar Dirkjan Ochtman1-1/+16
2018-06-22Disallow user-defined macros named 'super'Libravatar Dirkjan Ochtman1-9/+14
2018-06-21Clean up clippy suggestionsLibravatar Dirkjan Ochtman1-1/+1
2018-06-15Port parser to nom 4Libravatar Dirkjan Ochtman1-67/+79
2018-05-14Fix copy/paste error in whitespace handlingLibravatar Dirkjan Ochtman1-2/+2
2018-04-27Add support for unary operators (fixes #83)Libravatar Dirkjan Ochtman1-1/+11
2018-04-17Properly handle whitespace around comments (fixes #79)Libravatar Dirkjan Ochtman1-3/+4
2018-04-12Isolate proc-macro dependency to the proc macroLibravatar David Tolnay1-0/+0
The dependency of askama on askama_shared on syn on libproc_macro used to mean libproc_macro would be dynamically linked into any crate using askama. We want only askama_derive to have a runtime dependency on proc macro. This commit moves all proc macro code from askama_shared into askama_derive so that the askama crate no longer dynamically links libproc_macro.
2018-04-12Handle a lack of whitespace after match block (fixes #76)Libravatar Dirkjan Ochtman1-4/+5
2017-12-25Properly disable rustfmt in parser moduleLibravatar Dirkjan Ochtman1-2/+1
2017-11-21Disabling rustfmt locally doesn't work in stable RustLibravatar Dirkjan Ochtman1-2/+2
2017-11-21Don't restyle code in parser moduleLibravatar Dirkjan Ochtman1-0/+4
2017-11-02Support matching custom enumsLibravatar Anthony Nowell1-2/+44
2017-11-02support literals in match armsLibravatar Anthony Nowell1-7/+47
2017-11-02support else in match blockLibravatar Anthony Nowell1-0/+15
2017-11-02implement basic match functionalityLibravatar Anthony Nowell1-0/+54
2017-10-22Make empty string literals workLibravatar Dirkjan Ochtman1-1/+1
2017-10-20Tighten up parser code for path expressionsLibravatar Dirkjan Ochtman1-4/+2
2017-10-20Add support for array literals (fixes #59)Libravatar Dirkjan Ochtman1-0/+18
2017-10-15Add scope when importing macrosLibravatar Lars Erik Rosengren1-4/+11
2017-10-04Handle path expressions (fixes #56)Libravatar Dirkjan Ochtman1-0/+18
2017-09-26Add support for importing template files with macros (#51)Libravatar larros1-0/+13
* Fix review comments for macro imports
2017-09-10Add support for tuple indexing in templatesLibravatar Lars Erik Rosengren1-3/+7
2017-09-06Code cleanups as suggested by ClippyLibravatar Dirkjan Ochtman1-4/+4