Commit Graph

  • 477fcaa1a0 alternate statement implemented, minor syntax fix main Mattia Mascarello 2023-04-19 09:15:58 +0200
  • 6cdef34073 Paccianizing Mattia Mascarello 2023-04-18 22:55:48 +0200
  • f7fc90d98d Make the debug type printer compatible with opaque pointers. Stefano Sanfilippo 2023-01-28 14:44:57 +0100
  • ef048aa324 Update the minimum version of CMake to 3.14, required for LLVM 14. Stefano Sanfilippo 2023-01-26 18:24:42 +0100
  • ffae8e9e77 Store variable definitions as AllocaInsts objects. Stefano Sanfilippo 2023-01-23 21:24:03 +0100
  • 2f91c61296 Port to LLVM 14. Stefano Sanfilippo 2023-01-04 19:24:51 +0100
  • 097a6fc511 Run clang-format on the codebase. Stefano Sanfilippo 2023-01-04 19:24:33 +0100
  • 4b49bd28e7 Implement "ho visto" statement. Stefano Sanfilippo 2020-02-23 10:52:19 +0100
  • 7338102d46 Mark abort builtin as noreturn. Stefano Sanfilippo 2020-02-23 10:50:57 +0100
  • 7cc72828a0 Extract IRGenerator::evalBooleanCondition. Stefano Sanfilippo 2020-02-23 10:20:59 +0100
  • 5bd3ac2be5 Implement "avvertite don ulrico" statement. Stefano Sanfilippo 2020-02-23 09:53:14 +0100
  • 6c86720a1d Allow both "maggiore o uguale" and "maggiore uguale" for >=. Stefano Sanfilippo 2020-02-23 09:01:37 +0100
  • 39c9e3f08c Choose the LLVM version with a CMake option. Stefano Sanfilippo 2019-12-10 09:00:48 +0100
  • 439ef31f94 Support LLVM 7, 8 and 9. Bump default required version to 7. Stefano Sanfilippo 2019-12-09 18:46:43 +0100
  • 1bdb2d64c9 Build system fixes. Stefano Sanfilippo 2019-12-09 18:44:36 +0100
  • 4be7463cb3 Replace deprecated TypeBuilder with FunctionType::get. Stefano Sanfilippo 2019-12-09 18:02:54 +0100
  • 21f27ec261 Enable C++11 and strict checks for all code, msvc compatibility. Stefano Sanfilippo 2019-07-07 10:06:50 +0200
  • 25110521d0 Check LLVM version, rename RAGEL to RAGEL_EXECUTABLE. Stefano Sanfilippo 2019-07-07 09:52:40 +0200
  • 08368b178c Update clang-format config, run it. Stefano Sanfilippo 2019-07-07 09:52:01 +0200
  • 7a72294426 Build a tarball with "make package". Stefano Sanfilippo 2019-06-25 10:44:10 +0200
  • e48cb899f4 Merge branch 'master' of github.com:esseks/monicelli Stefano Sanfilippo 2019-06-25 10:36:14 +0200
  • c4c70182a1 Improve build scripts, add MONICELLI_ARCH cache variable. Stefano Sanfilippo 2019-06-25 10:35:02 +0200
  • 6c29cadd86
    Bump LLVM version to 6.0 in the README. Stefano Sanfilippo 2019-06-24 11:44:21 +0200
  • 68dee1250d Port the build scripts to CMake 3.5, refactor them. Stefano Sanfilippo 2019-06-24 10:35:23 +0200
  • 3b5a9be6b9 Emit position independent code by default, to enable support for shared libraries and PIE. Stefano Sanfilippo 2018-09-16 14:09:18 +0200
  • ab596da379 Port Monicelli to LLVM 6.0 Stefano Sanfilippo 2018-09-15 12:56:08 +0200
  • 7f2a9a34a8 Push Monicelli 2.0 "Cofandina" Stefano Sanfilippo 2017-10-12 22:36:56 +0200
  • 8aa5c1a575 Merge branch 'location' Stefano Sanfilippo 2015-03-27 12:02:55 +0100
  • 554f80ac5d Keeping track of locations in parser. Stefano Sanfilippo 2015-03-26 15:19:07 +0100
  • 4c9c5dc13b Pass current node to reportError function. Stefano Sanfilippo 2015-03-26 15:18:44 +0100
  • 7c5b760a94 Add location traits to AST nodes. Stefano Sanfilippo 2015-03-26 14:43:42 +0100
  • 5c05d96b39 Merge branch 'master' into location Stefano Sanfilippo 2015-03-25 01:36:26 +0100
  • 3dc5dc604a Ensure that a proper bb is created when "else" is omitted in a branch. Stefano Sanfilippo 2015-03-25 01:28:06 +0100
  • 69f54847b4 Fixing typo in HEXDIGIT regex. Stefano Sanfilippo 2015-03-12 18:59:45 +0100
  • d7fe87ee6e Add missing header in BitcodeEmitter.cpp Stefano Sanfilippo 2015-03-25 01:26:15 +0100
  • aa927e698b Add Netbeans files to gitignore. Stefano Sanfilippo 2015-03-25 01:26:01 +0100
  • 425dc1d9f4 Fixing typo in HEXDIGIT regex. Stefano Sanfilippo 2015-03-12 18:59:45 +0100
  • 1ba0e79c01 Making output operator for Type and Operator part of the iface. Stefano Sanfilippo 2015-03-12 17:52:27 +0100
  • 09c69f163f Adding template using decl to compile features check. Stefano Sanfilippo 2015-03-12 15:25:15 +0100
  • f2ee32ca80 Remove unused headers. Stefano Sanfilippo 2015-03-11 00:58:31 +0100
  • 6e832cf2f4 Use type shorthand macros in bitcode emitter. Stefano Sanfilippo 2015-03-11 00:57:14 +0100
  • a191342dec Adding fibonacci example. Stefano Sanfilippo 2015-03-11 00:52:53 +0100
  • 16d0e877bf Fix YAML-cpp minimum version required. Stefano Sanfilippo 2015-03-11 00:50:08 +0100
  • a0a94d13eb Additional checks on input files. Stefano Sanfilippo 2015-03-10 21:21:54 +0100
  • f83f3759d3 Qualify global regexes as static const in main. Stefano Sanfilippo 2015-03-10 21:09:22 +0100
  • ca8a86d217 Updating list of dependencies in readme. Stefano Sanfilippo 2015-03-10 20:59:11 +0100
  • 47302ea0de Slightly improved error reporting for << and >>. Stefano Sanfilippo 2015-03-10 20:54:04 +0100
  • d10d8cf3fd Fix compile time errors in hello world. Stefano Sanfilippo 2015-03-10 20:53:51 +0100
  • 69c4a80c81 Fix README for C++ transpiler. Stefano Sanfilippo 2015-03-10 19:51:06 +0100
  • eb448f6ae5 Clearer messages on command line. Stefano Sanfilippo 2015-03-10 19:48:53 +0100
  • f3356d5906 Add back the option to emit C++ instead of LLVM bitcode. Stefano Sanfilippo 2015-03-10 19:45:43 +0100
  • 8061e9dd90 Merge branch 'agatti-homebrew' Stefano Sanfilippo 2015-03-10 15:44:28 +0100
  • a34efebff9 Adding forgotten <iostream> include. Stefano Sanfilippo 2015-03-10 15:44:07 +0100
  • 94dca845a5 Merge branch 'homebrew' of https://github.com/agatti/monicelli into agatti-homebrew Stefano Sanfilippo 2015-03-10 15:43:55 +0100
  • 22f4c334b7 Adding command line options parser Stefano Sanfilippo 2015-03-10 14:36:32 +0100
  • 04e031a6a0 Adding minimal test case for dead basic block optimization. Stefano Sanfilippo 2015-03-10 13:33:34 +0100
  • ba5dbde1ea Build distributable packages with CPack Stefano Sanfilippo 2015-03-10 13:32:43 +0100
  • c9c0e72bec Add install rules to CMake build scripts. Stefano Sanfilippo 2015-03-10 13:31:02 +0100
  • d8e13b54fe Adding supercazzola version of mandebrot.mc Stefano Sanfilippo 2015-03-10 01:39:45 +0100
  • 6e20935a1b Grouping source files under src/ directory. Stefano Sanfilippo 2015-03-10 01:28:43 +0100
  • 8b355d8003 Adding a turtle graphics example with an external module. Stefano Sanfilippo 2015-03-10 01:21:45 +0100
  • 4df447f23e Adding support for declaration of external modules as .mm files. Stefano Sanfilippo 2015-03-10 00:52:51 +0100
  • ef0e1be751 Convenience ctor for Id from std::string. Stefano Sanfilippo 2015-03-10 00:48:28 +0100
  • f35332cf89 Enable simple optimizations. Stefano Sanfilippo 2015-03-09 22:48:10 +0100
  • f28172e9f2 Adding a Mandelbrot set plotter example. Stefano Sanfilippo 2015-03-09 22:38:16 +0100
  • cf241951a0 Ensure that basic blocks in loops and branches are well formed. Stefano Sanfilippo 2015-03-09 22:04:10 +0100
  • ec76d2a21d Use Pointer<...> in BitcodeEmitter.hpp instead of unique_ptr Stefano Sanfilippo 2015-03-09 22:03:07 +0100
  • dc5fffbddc Cast the expression before deducing truth value in isTrue() Stefano Sanfilippo 2015-03-09 21:41:11 +0100
  • 2d58363c50 Ext or trunc for integers types, not bitcast. Stefano Sanfilippo 2015-03-09 14:26:25 +0100
  • 1f4fec77b3 Fix error reporting in FunctionPrototype bitcode emitter. Stefano Sanfilippo 2015-03-09 13:58:43 +0100
  • ea94de076d Force return type of main to int in CppEmitter. Stefano Sanfilippo 2015-03-09 13:52:34 +0100
  • e46ddfcd80 Fixing error message for parameter number mismatch in function call. Stefano Sanfilippo 2015-03-09 13:43:22 +0100
  • 12ea83a4af Make sure vectors are not empty when calling back(). Stefano Sanfilippo 2015-03-09 13:35:33 +0100
  • 0c3702ea34 Single ret point in functions, so that a ret is always in the codepath. Stefano Sanfilippo 2015-03-09 12:33:10 +0100
  • 3278f12028 Assert that the value returned by FunctionPrototype bitcode emitter is a llvm::Function. Stefano Sanfilippo 2015-03-09 12:04:08 +0100
  • 408df71461 Move factorial.mcc to factorial.mc Stefano Sanfilippo 2015-03-09 01:23:59 +0100
  • 4037a76c6b Implicitly cast return expressions to the return type of the function. Stefano Sanfilippo 2015-03-09 01:11:13 +0100
  • eca4769534 Fixing naming issue in runtime. Stefano Sanfilippo 2015-03-09 01:02:50 +0100
  • be503447b3 Fix bug in codegen for functions with multiple parameters. Stefano Sanfilippo 2015-03-09 01:02:24 +0100
  • 3ffdcf4b88 Using C for standard library, since it can't depend on lib(std)c++. Stefano Sanfilippo 2015-03-08 22:18:21 +0100
  • 95d189e244 Use target_compile_options function in CMake script. Stefano Sanfilippo 2015-03-08 22:10:34 +0100
  • 8d511f46f4 Expand documentation on the Monicelli standard library. Stefano Sanfilippo 2015-03-08 21:52:29 +0100
  • 0531ec531a Removing unneeded dependency on LLVM JIT. Stefano Sanfilippo 2015-03-08 21:45:06 +0100
  • 79c4303219 Using PointerSet for modules in monicelli::Program. Stefano Sanfilippo 2015-03-08 21:37:46 +0100
  • 04cd095e41 Removing leading __ from Monicelli type definitions. Stefano Sanfilippo 2015-03-08 21:37:29 +0100
  • 711f693f55 Renaming monicelli::plist to monicelli::plist_of Stefano Sanfilippo 2015-03-08 21:27:24 +0100
  • b2e7a11b7a Introducing boost::ptr_vector and boost::ptr_unordered_set. Stefano Sanfilippo 2015-03-08 21:03:23 +0100
  • 19a0c656f2 Refactoring == and hash() operators for nodes that need them. Stefano Sanfilippo 2015-03-08 21:01:27 +0100
  • 83a3813dd4 Updating readme. Stefano Sanfilippo 2015-03-08 13:56:06 +0100
  • 6f69bf603d Add license block where missing. Stefano Sanfilippo 2015-03-08 13:29:34 +0100
  • 7a456884ae Use CMake release mode. Stefano Sanfilippo 2015-03-08 13:27:39 +0100
  • b5196b1776 Replace hardcoded stdlib prototypes with a module registry. Stefano Sanfilippo 2015-03-08 13:25:59 +0100
  • 3aade87599 Splitting a parser rule for function prototype. Stefano Sanfilippo 2015-03-08 12:52:38 +0100
  • e933e75c85 Removing leftover forward decl of __Monicelli_main Stefano Sanfilippo 2015-03-08 12:48:13 +0100
  • 4f4ab480a3 Moving system functions names to BitcodeEmitter.cpp Stefano Sanfilippo 2015-03-08 12:47:52 +0100
  • b1aff41ce9 Moving convertAndStore to preamble of BitcodeEmitter.cpp Stefano Sanfilippo 2015-03-08 12:47:15 +0100
  • 9d2413857d Using %g format for printing floating point numbers. Stefano Sanfilippo 2015-03-08 12:34:51 +0100
  • 519a7f7510 Use Type::CHAR instead of Type::BOOL for stdlib functions. Stefano Sanfilippo 2015-03-08 12:29:13 +0100
  • 83a331a9af Adding stdlib target to CMake, migrating runtime to C++. Stefano Sanfilippo 2015-03-08 12:19:06 +0100
  • 8656d5c761 Get rid of __Monicelli_main and directly call main() Stefano Sanfilippo 2015-03-08 12:04:46 +0100