diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cde2e151..b3f55987 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,7 @@ jobs: - uses: actions/checkout@v3 - name: Setup emscripten cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.emscripten-cache key: ${{ runner.os }}-emscripten diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e2490eda..c2ff5ae6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,9 +14,18 @@ jobs: packages: write steps: - uses: actions/checkout@v3 + + - name: Setup emscripten cache + uses: actions/cache@v3 + with: + path: ~/.emscripten-cache + key: ${{ runner.os }}-emscripten + restore-keys: | + ${{ runner.os }}-emscripten + - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: https://registry.npmjs.org/ - name: Build diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29b..00000000 diff --git a/CHANGELOG.md b/CHANGELOG.md index fd36d776..1f59c692 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.1.25](https://github.com/robertoraggi/cplusplus/compare/v1.1.24...v1.1.25) (2023-09-20) + + +### Bug Fixes + +* Add support for c++23 consteval if statements ([e3669c7](https://github.com/robertoraggi/cplusplus/commit/e3669c77fbbe2e765a06b69973cec024f9f2d26f)) +* Add support for c++23 elifdef and elifndef ([94c0ec0](https://github.com/robertoraggi/cplusplus/commit/94c0ec02cd8cecd4899cdcb71834c3e3ccddf4fa)) +* Add support for c++23 lambda specifiers ([eac4fad](https://github.com/robertoraggi/cplusplus/commit/eac4fadb822268bdd2744c813c83e0503c28a83d)) +* Package both esm and commonjs bundles ([0ee29dc](https://github.com/robertoraggi/cplusplus/commit/0ee29dc9c6435cc814acb49478fdc6221e75e0cc)) +* Parse c++23 deduce this ([bec4386](https://github.com/robertoraggi/cplusplus/commit/bec43869cf2e4b6ca454c640bd74c441caeaee52)) +* Use the bundler module resolution in the cxx-frontend package ([91c28f9](https://github.com/robertoraggi/cplusplus/commit/91c28f953974d3713e7d54582423b6d45702701a)) + ## [1.1.24](https://github.com/robertoraggi/cplusplus/compare/v1.1.23...v1.1.24) (2023-09-18) diff --git a/README.md b/README.md index d4a8d55a..92ad504a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # A compiler front end for the C++ language -This repository contains a _work in progress_ compiler front end for C++ 20. +This repository contains a _work in progress_ compiler front end for C++ 23. ## Install @@ -25,7 +25,7 @@ https://robertoraggi.github.io/cplusplus/ On Linux, macOS and Windows: ```sh -# install the python packages required to run the unit tests +# install the python packages required to run the unit tests (optional) pip install -r tests/unit_tests/requirements.txt # configure the source code @@ -109,7 +109,7 @@ async function main() { const wasmBinary = await readFile(wasmBinaryFile); // initialize the parser - await Parser.init({ wasmBinary }); + await Parser.init({ wasm: wasmBinary }); const parser = new Parser({ source, path: "source.cc" }); @@ -147,15 +147,18 @@ main().catch(console.error);