- 03 Mar, 2006 2 commits
-
-
Thierry Geraud authored
- extended: New sub-project. - extended/xtd: New directory. - extended/tests: New directory. - extended/tests/Makefile.am: New. - extended/Makefile.am: New. - configure.ac: Update. - Makefile.am: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@418 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
- tests/Makefile.am: Update. - mlc/switch.hh: Replace obsolete contents by inclusion of case.hh. - mlc/Makefile.am: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@417 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 02 Mar, 2006 1 commit
-
-
Thierry Geraud authored
"typedef exists but its value is not_found" and "typedef is not found because it does not exist". - tests/case.cc: New file. - tests/switch.cc (where_): Precise name. - tests/ret.cc: New file. - mlc/bool.hh (assert): Remove is_true to avoid cryptic error message such as "is_true" inaccessible. - mlc/flags.hh (found): New class. - mlc/typedef.hh (result2): New inner class to disambiguate between "typedef is found but its value is not_found" and "typedef is not found". (mlc_ret, mlc_decl_typedef(ret)): Move to... - mlc/ret.hh: ...this new file. - mlc/switch.hh: Change that makes this file soon obsolete. - mlc/case.hh: New file. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@415 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 20 Feb, 2006 1 commit
-
-
Roland Levillain authored
No longer use the C++'s inheritance mechanism to ``pack'' the internal vtypes of a class. Rely on a metacode algorithm to recursively look for vtypes in internal and external vtypes instead, using both the super link and a ``pseudosuper'' link to visit the upper classes. The set/get classes have been replaced by a single class (in fact, by two classes, one for internal vtypes, the other for external vtypes). The pseudosuper link is used to inherit (or fetch) the vtypes from a given class, without needing to inherit from this class. - metalic/mlc/properties.hh (mlc_equip_namespace_with_properties): Rewrite this macro. (set_types, set_ext_types): Rename as... (vtypes, ext_vtypes): ...this. (get_types, get_ext_type): Remove. - metalic/tests/properties.cc: Update the test. Check for new cases (external vtype, pseudo inheritance of vtypes). (rec_get_vtype, rec_get_ext_vtype): New. This class holds the algorithm for the recursive retrieval of internal/external vtypes. (typeof_): Adjust. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@414 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 17 Feb, 2006 2 commits
-
-
Thierry Geraud authored
- tests/switch.cc: New file. - mlc/switch.hh (case_true, case_false): New classes. (case_type): New typedef in classes. (case_, switch_): Modify error handling. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@413 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
- mlc/elt.hh: Fix bug. - mlc/pair.hh: Add explicit error messages. - mlc/valist.hh: Likewise. - mlc/bool.hh (ASSERTION_FAILED_, AN_ASSERTION_FAILED_): Remove so that error messages are more concise. (iff_, mlc_iff): Rename as... (type_iff_, mlc_type_iff): ...these. (assert_): Update. - mlc/switch.hh: New. - mlc/is_a.hh (internal::is_a): Move and rename as... (is_a_): ...this so error messages are shortern. - mlc/cmp.hh: Pretty print. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@412 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 16 Feb, 2006 3 commits
-
-
Roland Levillain authored
- configure.ac: New file. - Makefile.am, build-aux/Makefile.am, metalic/Makefile.am, - metalic/mlc/Makefile.am, metalic/tests/Makefile.am: New file. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@411 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mlc/properties.hh: Switch to the new properties system. * tests/properties.cc: Adjust test. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@410 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
- tests/properties.cc: Fix bug to get compatibility with g++-3.3. - mlc/bool.hh (ensure_item_<i, expr, check>): Rename as... (check_item_<i, bexpr, result>): ...this. (check_<bexpr, result>): New class dedicated to assert_. (retrieve_ensure_): Remove. (ASSERTION_FAILED_, AN_ASSERTION_FAILED_): New internal classes mimicking respectively the old ensure_ and ensure_list_. (no_error_message, no_bexpr): New classes. (ensure_, ensure_list_): Rename as... (assert_, multiple_assert_): ...these. - mlc/pair.hh: Update. - mlc/logic.hh: Update. - mlc/valist.hh: Update. - mlc/implies.hh: Update. - mlc/is_a.hh: Update. - mlc/cmp.hh: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@409 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 15 Feb, 2006 2 commits
-
-
Thierry Geraud authored
- mlc/elt.hh: New file. - mlc/bool.hh (iff_): New class. - mlc/pair.hh: New file. - mlc/valist.hh: New file. - mlc/cmp.hh: Update. - mlc/uint.hh: New file. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@408 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
- mlc/bool.hh: Move logical ops in... - mlc/logic.hh: this new file. (ors_, ands_): Rename as... (or_list_, and_list_): ...these. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@404 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 14 Feb, 2006 5 commits
-
-
Roland Levillain authored
* tests/properties.cc, mlc/to_string.hh: New files. * mlc/properties.hh: New test. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@403 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mlc/cmp.hh (mlc::is_ok): Add missing template declarator. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@402 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* tests/is_a.cc, tests/if.cc, tests/typedef.cc: New tests. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@401 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* TODO: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@400 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
* mlc/cmp.hh: More documentation. (is_found, is_not_found, is_ok): New. * mlc/implies.hh, mlc/is_a.hh: Fix Doxygen comment. * mlc/flags.hh: More documentation. (dummy, locked): New. From Thierry Graud. * mlc/value.hh: Remove dead code. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@399 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 10 Feb, 2006 1 commit
-
-
Thierry Geraud authored
- mlc/implies.hh: New file. - mlc/is_a.hh: Update. - mlc/comma.hh: New file. - mlc/typedef.hh (in_, in_onlyif_): Rename as... (from_, from_only_if_): ...this. (mlc_typedef_in, mlc_typedef_in_): New macros. (mlc_ret): New macro. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@394 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 09 Feb, 2006 1 commit
-
-
Thierry Geraud authored
- mlc/wrap.hh (wrap): Rename into... (wrap_): ...this. - mlc/bool.hh (ensure_item): Rename into... (ensure_item_): ...this and add a parameter to ease disambiguation. (ensure_list_): Update. (documentation): Update. - mlc/cmp.hh: Update. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@389 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 07 Feb, 2006 1 commit
-
-
Thierry Geraud authored
- mlc/is_a.hh (wrap): Move to... - mlc/wrap.hh: ...this new file. - mlc/bool.hh (ensure_): Take just one parameter; the former variadic version is now handled by... (ensure_list_): ...this new class. - mlc/typedef.hh: Rename some internals. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@388 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 26 Jan, 2006 2 commits
-
-
Roland Levillain authored
- mlc/if.hh: New file. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@387 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
- mlc/bool.hh: Update documentation. (internal::value_<bool,b>::ret): Rename as... (internal::value_<bool,b>::eval): ...this. (bool_<true>::ensure_t): Rename as... (bool_<true>::internal_ensure_): ...this. (internal::ensure_item<i,expr>): New class. (internal::none_): Relocate. (internal::none_::internal_ensure_): New typedef. (ensure_): New class. - mlc/value.hh (is_value, is_not_value): Move to... - mlc/cmp.hh (is_value, is_not_value): ...here. (eq_, neq_): Update static checks. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@386 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 25 Jan, 2006 2 commits
-
-
Roland Levillain authored
- metalic/mlc: Move Metalic-related entries... - metalic/ChangeLog: ...here (new). git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@385 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Thierry Geraud authored
A lot of cleanups. Client concrete classes in mlc are now all postfixed by '_'. For instance, we have and_, int_, and so on. - metalic: New. - metalic/mlc: New. - metalic/mlc/type.hh: New. - metalic/mlc/bool.hh: New. (abstract::boolean): New class. (bool_): New class. (value, true_type, false_type): Rename as... (value_, true_, false_): ...these. (ors, ands): Rename as... (ors_, ands_): ...these. (internal): Cosmetic change. (is_true, is_false): Remove. (true_, false_): New typedef ensure_t. - metalic/mlc/is_a.hh: New. (form): Move in the internal namespace cause names are too long for a decent client use. - metalic/mlc/value.hh: New. (value): Rename as... (value_): ...this. (mlc_internal_decl_unsigned_): New macro. (mlc_internal_decl_signed_): New macro. (uchar_, ushort_, uint_, ulong_): New classes. (schar_, short_, int_, long_): New classes. (is_value, is_not_value): New meta-functions. - metalic/mlc/flags.hh: New. (flag): New abstract class. (undefined_type, unknown_type, no_type): Rename as... (undefined, unknown, none): ...these. (not_ok): Remove cause useless. - metalic/mlc/cmp.hh: New. (eq, neq): Rename as... (eq_, neq_): ...these. (is_found, is_not_found, is_ok): Remove cause irrelevant here. (mlc_is_found, mlc_is_not_found): Likewise. - metalic/mlc/typedef.hh: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@384 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
- 24 Jan, 2006 3 commits
-
-
Roland Levillain authored
git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@383 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
- vcs/oln.rb: New. git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@382 4aad255d-cdde-0310-9447-f3009e2ae8c0
-
Roland Levillain authored
git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@381 4aad255d-cdde-0310-9447-f3009e2ae8c0
-