Tomas Babej
87b0be9b6f
performance: Pre-emptively reserve size of the values vector
...
Each token will add a corresponding Variant into the vector, so we can
avoid the performance penalty connected with dynamic resizes of the
vector.
2021-04-24 10:47:28 -04:00
Rosen Penev
ab7f5b0b51
clang-tidy: loop conversion
...
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2021-04-23 09:13:22 -04:00
Tomas Babej
0d1542ccd7
meta: Update various links to https
2021-03-12 07:58:04 -05:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Paul Beckingham
3e0a428185
Revert "[clang-tidy] Use .empty instead of comparing size"
...
This reverts commit a331cceded .
2020-12-05 16:18:37 -05:00
Paul Beckingham
0a3a4d364d
Revert "[clang-tidy] Use new range based loops"
...
This reverts commit a468537c1b .
2020-12-05 16:18:37 -05:00
Paul Beckingham
e3e158bf6a
Revert "[clang-tidy] Replace push_back with emplace_back"
...
This reverts commit 897759e4dc .
2020-12-05 16:18:37 -05:00
Paul Beckingham
5502729131
Revert "[clang-tidy] Switch C headers to C++ ones"
...
This reverts commit 0344856d65 .
2020-12-05 16:18:37 -05:00
Paul Beckingham
c43a513158
Revert "[clang-tidy] Replace C style casts with C++ ones"
...
This reverts commit 13e1bf7204 .
2020-12-05 16:18:37 -05:00
Rosen Penev
13e1bf7204
[clang-tidy] Replace C style casts with C++ ones
...
Found with google-readability-casting
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
0344856d65
[clang-tidy] Switch C headers to C++ ones
...
Found using modernize-return-braced-init-list
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
897759e4dc
[clang-tidy] Replace push_back with emplace_back
...
Found with modernize-use-emplace
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
a468537c1b
[clang-tidy] Use new range based loops
...
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
a331cceded
[clang-tidy] Use .empty instead of comparing size
...
Found with readability-container-size-empty
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Tomas Babej
a09f9d48ab
Update copyright to 2020
2020-11-21 12:27:05 -05:00
Tomas Babej
8066e4e6e2
meta: Update copyright year
2019-01-01 08:46:21 -05:00
Simon Ruderich
e817dfc800
Always use https:// link for opensource.org
...
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Paul Beckingham
51ae097388
Eval: Eliminated string def
2018-02-03 14:06:53 +01:00
Mark Scannell
7af6db4c17
Portability: Updated to make main re-entrant()
...
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
cff755aba1
l10n: Eliminated STRING_EVAL_*
2018-01-15 13:28:43 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
0a137a852e
Cleanup: Formatting
2017-03-19 09:59:20 -04:00
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
355620c640
libhsared: migrating from local to libshared
2016-12-06 07:20:45 -05:00
Paul Beckingham
2720ea5a30
TW-1806: project:ide is not allowed
...
- Thanks to Slaven ʙanovic.
2016-05-20 11:13:46 -05:00
Paul Beckingham
197b440cc2
Eval: C++11
2016-02-03 20:30:57 -05:00
Paul Beckingham
54fac39f85
Eval: Removed obsolete method
2016-01-09 22:36:13 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
5c8b7148b4
Task: Moved include to top of list, per flint++ recommendation
2015-11-01 19:59:10 -05:00
Paul Beckingham
b7bbd96b62
Eval: Removed unused ::compileExpression override
2015-10-28 20:54:03 -04:00
Paul Beckingham
249a4b0f64
Eval: Removed useless comment
2015-09-07 12:36:23 -04:00
Paul Beckingham
6276241ef0
Eval: Removed ::ambiguity
2015-07-01 17:54:36 -04:00
Paul Beckingham
b090c6bccf
Lexer: Removed unnecessary ::ambiguity method
2015-07-01 16:18:28 -04:00
Paul Beckingham
9db73962da
Eval: Added method for providing a precompiled expression
2015-06-22 00:20:03 -04:00
Paul Beckingham
e74c6963a9
C++11: Cleaned up program framework with range-based for
2015-05-11 17:50:53 -04:00
Paul Beckingham
935b2993f3
C++11: Took advantage of N1757.
2015-04-06 15:30:39 -04:00
Wilhelm Schuermann
7a64c19641
Resolve most compiler warnings
2015-03-29 22:05:38 +02:00
Paul Beckingham
237d932ff9
Lexer
...
- Improved ::isIdentifier, ::isUUID and ::isDOM.
2015-03-01 23:54:45 -05:00
Paul Beckingham
745aad0d27
Lexer
...
- Renamed Lexer2 to Lexer, it looks good enough to assume control.
2015-02-22 18:23:03 -05:00
Paul Beckingham
0cf18f3b16
Lexer2
...
- Integrated Lexer2 in place of Lexer. Tests fail.
2015-02-22 13:52:14 -05:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
8de2a1030e
Eval
...
- Reduced the verbosity of Eval under rc.debug.parser=3, improving readability.
- Updated unit tests regarding modified debug output.
2014-12-28 12:48:16 -05:00
Paul Beckingham
c0424cedeb
Eval
...
- The _neg_ operator was a copy/paste of the ! operator, and needed to be
numeric, not boolean.
2014-12-28 09:18:59 -05:00
Paul Beckingham
3279566244
CLI
...
- Modify ::disqualifyOnlyParenOps to count sugared operators.
- Labelled '(' and ')' as circumflex operators, thanks awwaiid.
2014-11-09 16:52:43 -05:00
Paul Beckingham
125b5464dc
Eval
...
- Do not mark the '(' and ')' operators as binary. I don't know what they are,
but they are not binary.
2014-11-09 16:12:47 -05:00
Paul Beckingham
d7378d830f
Eval
...
- Implemented ::getBinaryOperators.
2014-11-09 15:18:04 -05:00
Paul Beckingham
959df159fa
Eval
...
- Code cleanup.
2014-10-23 22:42:21 -04:00
Paul Beckingham
8905dd1c32
Eval
...
- The operator classifier failed to include '!=='.
2014-10-13 21:39:51 -04:00
Paul Beckingham
9e0ea1cb4a
Eval
...
- Better error message for malformed expressions, ie when a binary operator
expects two values, and sees less then two or when a unary operator sees
less than one.
2014-09-27 17:08:26 -04:00
Paul Beckingham
071cf55c00
Unit Tests
...
- Added a default 'hooks=off' to the basetest class, after it was discovered
that the scan for runnable hooks takes non-trivial time.
2014-09-27 16:49:06 -04:00