summary refs log tree commit diff
path: root/minic/minic.y
AgeCommit message (Collapse)Author
2017-02-10update minic for new vararg supportQuentin Carbonneaux
We conservatively assume all functions have variable argument lists.
2017-02-01fix the same bug in varget()Quentin Carbonneaux
2017-02-01fix bug in varadd(), thanks Ed DavisQuentin Carbonneaux
2016-03-28implement export controlQuentin Carbonneaux
2016-02-29patch minic to new string syntaxQuentin Carbonneaux
2016-02-28Add strings as 'b "foo"'Ori Bernstein
2016-02-11patch minic for new comparisonsQuentin Carbonneaux
This solved one pending bug: comparisons of long variables are now compiled properly. A bug for comparisons < and <= of pointers remain, it is related to signedness, not width. This can be easily fixed by the reader!
2015-11-18support _ in identifiersQuentin Carbonneaux
2015-11-08uniformize temporary names in minicQuentin Carbonneaux
2015-11-08another return fix in minicQuentin Carbonneaux
2015-11-06maybe fix small return bug in stmt()Quentin Carbonneaux
2015-11-06experiment with && and || in minicQuentin Carbonneaux
2015-11-03update minic to the new IRQuentin Carbonneaux
2015-10-17add cheap line reporting in dieQuentin Carbonneaux
2015-10-13add void typeQuentin Carbonneaux
2015-10-12add for loopsQuentin Carbonneaux
2015-10-12make the queen test workQuentin Carbonneaux
2015-10-12add & binop to minicQuentin Carbonneaux
2015-10-12add return, break, globals in minicQuentin Carbonneaux
2015-10-12fix minor parsing issuesQuentin Carbonneaux
2015-10-12finish rough implementation of callsQuentin Carbonneaux
2015-10-12add a cheap implementation of sizeofQuentin Carbonneaux
2015-10-12add super cheap constant folding in minicQuentin Carbonneaux
2015-10-09start implementing basic function callsQuentin Carbonneaux
2015-10-08uniformize naming in minicQuentin Carbonneaux
2015-10-08add clumsy support for string literalsQuentin Carbonneaux
It's currently clumsy because they are given the type 'int *' instead of 'char *', the reason is that the char base type is not supported now. I don't think it would be hard to add proper support for char, though.
2015-10-04support unary minusQuentin Carbonneaux
2015-10-04add post {in,de}crement support + fix grammarQuentin Carbonneaux
2015-10-04parse functions in minicQuentin Carbonneaux
2015-10-03== and != do not consider signsQuentin Carbonneaux
2015-10-02minor bug in case WhileQuentin Carbonneaux
2015-10-02oops, stupid swap in a printfQuentin Carbonneaux
2015-10-02start an example compiler for a subset of CQuentin Carbonneaux