dinghram
1541cce1d9
Change long to int64_t to remove OS ambiguity
...
Linux compilers interpret "long" as 64 bit, Visual Studio on Windows interprets "long" as 32 bit. In order to remove ambiguity, from_json should use int64_t rather than long when parsing integers.
2017-10-03 08:43:01 -06:00
Jason Turner
be225a9209
Merge branch 'develop' of github.com:ChaiScript/ChaiScript into develop
2017-10-02 09:53:23 -06:00
Jason Turner
15196af5d6
Remove one case of UB union work
2017-10-02 09:52:51 -06:00
Mario Lang
f54aa90736
Use using
2017-09-25 16:55:18 +02:00
Jason Turner
c6237cc528
Add += char for string type
2017-09-21 08:55:32 -06:00
Jason Turner
8e590387f1
Merge branch 'constexpr' into c++17
2017-09-20 17:05:31 -06:00
Jason Turner
6cae70c208
Move to module level statics from function level
2017-09-20 16:44:32 -06:00
Jason Turner
c5a9cab3dd
Simple cleanup for string comparisons
2017-09-20 15:34:19 -06:00
Jason Turner
7142d0ea39
Merge pull request #367 from mlang/range-based-for
...
Use range-based for
2017-09-18 09:24:02 -07:00
Mario Lang
3e521d2952
Delete now useless local copy
2017-09-18 17:00:04 +02:00
Mario Lang
0fa0def112
Use range-based for
2017-09-18 15:00:52 +02:00
Mario Lang
ee3f828b8c
Allow bootstrapping hpx::lcos::future
...
Which has an overloaded get(error_code &). Use a lambda in
standard_library::future_type to disambiguate.
2017-09-15 10:12:47 +02:00
Jason Turner
ee0d6e676c
Merge pull request #365 from mlang/samples_upgrade
...
-?
2017-09-14 09:34:04 -07:00
Mario Lang
a87147a12d
Upgrade samples where it improves readability
2017-09-14 17:41:11 +02:00
Jason Turner
e38b05ff9a
Better constexpr for comment types
2017-09-10 07:12:33 -06:00
Stephen Berry
037faddab4
Updated cheatsheet.md for latest namespace implementation
2017-09-05 13:48:12 -05:00
Stephen Berry
ff78d31583
Simplified namespace handling code and requiring all namespace registration to allow for delayed generation. This simplifies generating namespaces by the user and leads to more efficient code.
2017-09-05 13:26:55 -05:00
Stephen Berry
a9fc1d492e
Merge branch 'develop' of https://github.com/ChaiScript/ChaiScript into develop
2017-09-05 12:13:29 -05:00
Stephen Berry
3f299333cc
Switched to recursive mutex
...
Removed namespaces_nested_ref.chai
2017-09-05 12:02:11 -05:00
Jason Turner
f338586d37
Performance improvements and LOC reduction in BoxedNumber
2017-09-02 19:06:46 -06:00
Jason Turner
bfe7799d13
Come C++17 updates, namespaces, etc
2017-09-02 13:12:52 -06:00
Jason Turner
1738476321
Make comparison constexpr
2017-08-30 08:41:08 -06:00
Jason Turner
4213f24761
Various C++17 considerations
2017-08-29 16:14:44 -06:00
Jason Turner
ac78e978fe
Move to template type deduction for function signature
2017-08-26 14:19:38 -06:00
Jason Turner
e6a6a20eb6
Handful for C++17 things
2017-08-26 08:24:55 -06:00
Jason Turner
f9a1784b9b
Move json.hpp to variant
2017-08-25 19:48:30 -06:00
Jason Turner
4275ec6878
Make it easier to swap around some hashing algorithms
2017-08-25 15:31:24 -06:00
Jason Turner
dce9e17c34
More string_view tweaks
2017-08-25 14:49:44 -06:00
Jason Turner
04902f8209
Use C++17's emplace_back return reference
2017-08-25 12:48:34 -06:00
Jason Turner
e49df4c54d
Move the parser to string_view
2017-08-25 11:17:47 -06:00
Jason Turner
ff70341af2
Avoid conversions to string_view, 2% perf savings
2017-08-24 21:14:05 -06:00
Jason Turner
d115dbfd79
move towards string_view
2017-08-24 20:46:22 -06:00
Jason Turner
9596e15049
Warning / build fixes for gcc7
2017-08-24 18:35:03 -06:00
Jason Turner
9bbe723827
Fix unhandled divide by zero
2017-08-23 21:38:41 -06:00
Jason Turner
7722841294
More if constexpr work
2017-08-23 21:23:18 -06:00
Jason Turner
dd918c524d
Use if constexpr in boxed_number
2017-08-23 20:20:17 -06:00
Jason Turner
8568b61014
Merge branch 'constexpr' of github.com:ChaiScript/ChaiScript into constexpr
2017-08-23 16:13:39 -06:00
Jason Turner
b8b548bab3
more constexpr for parser
2017-08-23 16:10:10 -06:00
Jason Turner
0d76241f77
Avoid capture of constexpr value
2017-08-23 16:08:44 -06:00
Jason Turner
3feb084438
constexpr user_type objects
2017-08-22 22:22:47 -06:00
Jason Turner
d56c5b489b
Fix bug exposed while moving to constexpr
2017-08-22 16:15:25 -06:00
Jason Turner
21500a1dcc
Add source tracking for uninit memory sanitizer
2017-08-22 16:13:17 -06:00
Jason Turner
ac7af60d76
Make constructors return values, not shared_ptr
2017-08-22 15:54:42 -06:00
Jason Turner
b810e4f7d9
Callable traits constexpr
2017-08-22 13:29:08 -06:00
Jason Turner
ac8f876347
constexpr fixes for Visual Studio
2017-08-22 12:02:42 -06:00
Jason Turner
b51b52dea9
constexpr bind_first
2017-08-22 10:03:26 -06:00
Jason Turner
535c0344b7
Make function constexpr
2017-08-20 13:11:57 -06:00
Jason Turner
ddb2f352cd
Initial simple application of constexpr to API
2017-08-17 11:27:14 -06:00
Jason Turner
58f740844d
Undo perf hit to keyword lookups
2017-08-15 13:17:23 -06:00
Jason Turner
0fc420f69d
Revert "Remove exception specification shared_ptr use"
...
This reverts commit e1cf8b9eb1d59d49149454424ec49bd0d8a3b28f.
2017-08-15 10:13:20 -06:00