Commit Graph

21 Commits

Author SHA1 Message Date
Stefano Sanfilippo c9c0e72bec Add install rules to CMake build scripts. 2015-03-10 13:31:02 +01:00
Stefano Sanfilippo 6e20935a1b Grouping source files under src/ directory. 2015-03-10 01:28:43 +01:00
Stefano Sanfilippo 4df447f23e Adding support for declaration of external modules as .mm files. 2015-03-10 00:52:51 +01:00
Stefano Sanfilippo 3ffdcf4b88 Using C for standard library, since it can't depend on lib(std)c++. 2015-03-08 22:18:21 +01:00
Stefano Sanfilippo 95d189e244 Use target_compile_options function in CMake script. 2015-03-08 22:10:34 +01:00
Stefano Sanfilippo 0531ec531a Removing unneeded dependency on LLVM JIT. 2015-03-08 21:45:06 +01:00
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