Commit Graph

264 Commits

Author SHA1 Message Date
Stefano Sanfilippo 9c0a2573c3 Adding simple module dependency analysis.
Addresses #14
2014-12-10 20:38:32 +01:00
Stefano Sanfilippo eb072a063d Do not wrap simple expressions in braces. 2014-12-10 19:50:51 +01:00
Stefano Sanfilippo b721cd666b Merge pull request #11 from slattarini/factorial
New example: calculate factorial of a given integer, as double
2014-12-05 19:58:32 +01:00
Stefano Sanfilippo d8a895773a Merge branch 'master' into cmake 2014-12-05 01:50:07 +01:00
Stefano Sanfilippo 7d615b91a5 Adding missing header for assert(), not in ns std::.
Closes #13
2014-12-05 01:28:08 +01:00
Stefano Lattarini 080773ed0a New example: calculate factorial of a given integer, as double
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2014-12-05 00:33:02 +01:00
Stefano Sanfilippo d0e1af34b2 Merge branch 'master' into cmake
Conflicts:
	CMakeLists.txt
2014-12-04 22:18:01 +01:00
Stefano Sanfilippo 2d2fd93e2c Add parser-scanner dependency to CMake rules. 2014-12-04 21:50:15 +01:00
Stefano Sanfilippo 1b3ecac847 Merge pull request #10 from nsanitate/patch-1
"way" instead of "wat"
2014-12-04 21:46:00 +01:00
Nicola Sanitate ea2c46fcba Readme.md typo fix 2014-12-04 11:56:57 +01:00
Stefano Sanfilippo 07bdbbe55e Switch to CMake. 2014-12-02 17:55:48 +01:00
Stefano Sanfilippo f148814087 g++ 4.6.x compatibility 2014-12-02 17:28:42 +01:00
Stefano Sanfilippo e5fd0ed6bc Honour CXX environment variable. 2014-12-02 17:28:21 +01:00
Stefano Sanfilippo c4dd6e3c6b Removing extra \n when no functions are defined. 2014-12-02 16:28:01 +01:00
Stefano Sanfilippo 2f66c31729 Getting rid of explicit stacks with more left-recursive rules.
As a result, the grammar should be more readable.
2014-12-02 16:22:03 +01:00
Stefano Sanfilippo e984b5d0ea Uniform token naming convention. 2014-12-02 14:15:25 +01:00
Stefano Sanfilippo 5160c82adb Add a note to Specification.txt to remark that it's not up-to-date. 2014-12-02 13:15:40 +01:00
Stefano Sanfilippo 8e80aa4969 Show the variable name when asking the user for some input. 2014-12-02 01:36:50 +01:00
Stefano Sanfilippo 761ce64ca2 More meaningful example for bituma comment. 2014-12-01 10:20:23 +01:00
Stefano Sanfilippo b254b63faf Accented letters vs. backtick + smal fix to README. 2014-12-01 10:17:14 +01:00
Stefano Sanfilippo 87ca7614e4 Crediting the people who contributed to the initial specs. 2014-12-01 10:16:56 +01:00
Stefano Sanfilippo ffb2c6f975 Make in() static since it's not supposed to be used outside the lexer. 2014-12-01 09:55:06 +01:00
Stefano Sanfilippo d031031e4e Void functions might not return a value. 2014-12-01 00:33:57 +01:00
Stefano Sanfilippo 10034f38df Accept "supercazzora" as alternate spelling of "supercazzola".
As mentioned in #2
2014-12-01 00:29:49 +01:00
Alessandro Gatti e9be8b4419 Don't assume Italian accented characters are available. 2014-11-30 23:45:07 +01:00
Alessandro Pellegrini 8913c12a7f Hello World
There cannot be any programming language without a Hello World.
2014-11-30 23:39:57 +01:00
Stefano Sanfilippo 36de368b19 Enclose output expression in (). 2014-11-30 13:40:08 +01:00
Stefano Sanfilippo 2bc017d0bb Allow floating point literals with exponent and without decimal part. 2014-11-30 13:19:19 +01:00
Stefano Sanfilippo a6954b6ff7 Documenting function declaration and invocation in README. 2014-11-30 13:17:30 +01:00
Stefano Sanfilippo 0a49ccfeca Emitting prototypes for all declared functions. 2014-11-30 13:05:59 +01:00
Stefano Sanfilippo 76a4e3d7f2 Adding support for functions. 2014-11-30 13:03:45 +01:00
Stefano Sanfilippo ad80fc5130 Support for floating point literals. 2014-11-29 22:37:57 +01:00
Stefano Sanfilippo 8c813602d4 Stop compilation when an unexpected character is encountered. 2014-11-29 22:31:25 +01:00
Stefano Sanfilippo bb0c5c2c78 Fix definition of loop in README. 2014-11-29 21:39:13 +01:00
Stefano Sanfilippo 335802c667 Fix license header. 2014-11-29 21:38:52 +01:00
Stefano Sanfilippo 75b5d6c40b Accept "prematura" as alternate spelling of "brematura".
Solves #2.
2014-11-29 18:30:04 +01:00
Stefano Sanfilippo 0a932b3c3b Add "delle" to the list of articles. 2014-11-29 18:26:25 +01:00
Stefano Sanfilippo 46c7c99967 README typo fix. 2014-11-29 18:26:06 +01:00
Stefano Sanfilippo 30113be459 Bison 2.5 compatibility patch and make target. 2014-11-29 11:25:31 +01:00
Stefano Sanfilippo b312a2fb01 Merge typo fixes from https://github.com/skeru/monicelli
Thanks!
2014-11-29 11:00:42 +01:00
Stefano Sanfilippo 42753ffe69 Fix typos in README.md 2014-11-29 01:37:20 +01:00
skeru ea6be3513f Readme.md typo fix 2014-11-29 01:34:01 +01:00
skeru df683728c7 Readme.md typo fix 2014-11-29 01:31:46 +01:00
Stefano Sanfilippo f157badc3b Minor fixes to README. 2014-11-29 01:30:01 +01:00
Stefano Sanfilippo d32c6a4ede More meaningful example for branch. 2014-11-29 01:20:58 +01:00
Stefano Sanfilippo 89bd49d8df Expanded branch section. 2014-11-29 01:18:29 +01:00
Stefano Sanfilippo 635319d286 Minor fixes. 2014-11-29 01:17:07 +01:00
Stefano Sanfilippo c07583c7e5 Functions. 2014-11-29 01:13:01 +01:00
Stefano Sanfilippo 10d8ede0d6 Do-while example. 2014-11-29 01:08:12 +01:00
Stefano Sanfilippo a95bdf4c6c Alternate spelling for assignment. 2014-11-29 01:07:58 +01:00