* boost 1.69
Due to this: https://github.com/boostorg/atomic/issues/15
* build boost with libs for asio
* Boost 1.74
Download from dl.bintray.com/boostorg/ because Boost 1.74 .bz2 is larger than GitHub will allow without LFS
* set BUILD_BYPRODUCTS (just setting one library, and doesn't handle windows.. I don't know what is correct anyway)
* build with b2
* Try Boost.cmake from Kevin
* Specify toolset in configure command line
* Use POL_EXT_LIB_DIR. Make clib depend on boost, not pol itself
* cache boost for github actions
* Copy-pasta correction
* Cache boost for additional github build workflows
* cache boost for coverage build, updated cache action version
Co-authored-by: Kevin Eady <8634912+KevinEady@users.noreply.github.com>
Co-authored-by: turleypol <turley@polserver.com>
Rationale:
a in b == x in y // membership in two things is the same
a in b != x in y // membership in two things is different
a in b <= x in y // a has at most as much membership in b as x has in y
a in b < x in y // a has less membership in b than x does in y
This matches Kotlin precedence for this operator https://kotlinlang.org/docs/reference/grammar.html#expressions
* Update grammar
- add '=' to grammar so that we can report appropriate errors
- add elvis ?: operator
- add foreachIterableExpression to match old compiler (which only allows certain expressions)
- allow both byref and unused on the same function parameter
- rename methodCall -> functionCall
- rename memberCall -> methodCall
- add named parser rule for functionReference
- move everything that isn't expression(s) with operators into primary
- expression is now just the left-recursive rules and prefix operators
- add named parser rules for struct, dictionary, error, array initialization
- remove special-case for named parameters with := from function call argument, because it is ambiguous with assignment
- Moved array access, object member access, and object method calls to navigationSuffix
* Regen grammar
* force antlr to always build in release node also for multiconfigs
set the correct c++ runtime flag for clang on windows
fixed lib path for antlr
in CI also test msbuild and different modes then release
* cache antlr in nopch and force recompile in pch build
* force release mode also for curl
Build antlr as external project inside of lib/antlr.
Cache in Ci the antlr folder to speed up compilation times.
* replace ERROR with ANTLR_ERROR, fix clang build
* added missing define needed to link on windows
* different lib name with clang on windows
find VS installation with vswhere (local if no 2017 is installed)
dont build and link against debug version of curl
automatically insert git revision if git is in path