Stefano Sanfilippo
7a456884ae
Use CMake release mode.
2015-03-08 13:27:39 +01:00
Stefano Sanfilippo
b5196b1776
Replace hardcoded stdlib prototypes with a module registry.
2015-03-08 13:25:59 +01:00
Stefano Sanfilippo
83a331a9af
Adding stdlib target to CMake, migrating runtime to C++.
2015-03-08 12:19:06 +01:00
Stefano Sanfilippo
be60adb510
Minor cosmetic fixes (splitting lines, beautify error message).
2015-03-08 11:29:26 +01:00
Stefano Sanfilippo
3f19125574
Output object file in current directory.
2015-03-07 19:56:47 +01:00
Stefano Sanfilippo
d802eddd71
Silence unused param compiler warnings because of Bison.
2015-03-07 19:44:16 +01:00
Stefano Sanfilippo
becafb4cd5
Plug new bitcode generator in main.
2015-03-07 19:43:53 +01:00
Stefano Sanfilippo
e921a24929
Adding -Wextra -Werror to compiler flags and fixing issues.
2015-03-07 17:24:25 +01:00
Stefano Sanfilippo
226aff325f
Adding LLVM stuff to CMake build script.
2015-03-07 17:23:46 +01:00
Stefano Sanfilippo
8554bda556
Reformat CMakeLists.txt script for readability.
2015-03-05 17:35:52 +01:00
Stefano Sanfilippo
82b63189f4
Adding new features to features.cpp compiler checks.
2015-03-05 14:24:27 +01:00
Stefano Sanfilippo
b0a01d2fb7
Decouple AST nodes from representation.
...
1. adding getters to all node properties.
2. extracting an Emitter interface.
3. moving all C++ codegen features to a CppEmitter.
All list template specializations typedefs have been removed for
increased readability.
A dependency on Boost is introduced for boost::optional,
which is required in the AST getters API.
2015-03-05 01:16:40 +01:00
Stefano Sanfilippo
715b0fe840
Compiler features discovery and Bison version check.
2014-12-10 23:03:02 +01:00
Stefano Sanfilippo
2d2fd93e2c
Add parser-scanner dependency to CMake rules.
2014-12-04 21:50:15 +01:00
Stefano Sanfilippo
07bdbbe55e
Switch to CMake.
2014-12-02 17:55:48 +01:00