[Feature] PALM Serializer (rebased from PR #191)#2
Draft
Copilot wants to merge 33 commits into
Draft
Conversation
Copilot created this pull request from a session on behalf of
matthew-mccall
April 18, 2026 17:10
View session
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…lization tests Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…plement serialization for Log, Negate, Derivative, Integral, and Magnitude Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…miters Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
… PALMSerializer Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…nversion Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…pping Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…odify PALMHelper.hpp to define TokenBimap for expression type mapping Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…OASIS_BUILD_JS Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
… by type (operators and delimiters). Also refactored the helper functions to use the new feature. Also split the separators between the start/end parenthesis and between operands into two separate delimiters (so in the future we could do something like (+ 5 2) instead of needing to be ( + 5 2 ) Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
….hpp Created PALMTokenizer to tokenize the input string. (By whitespace or punctuators) Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…e (LeafExpression, BinaryExpression, UnaryExpression). Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…to PALMTokenizer Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…zation error types, and refactor WrapExpression parameters Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…onsistency in naming, and enhanced error handling Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…n operand handling Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
Agent-Logs-Url: https://github.com/matthew-mccall/Oasis/sessions/4f16a3f8-7c2c-40f8-9b54-f740a9748c3e Co-authored-by: matthew-mccall <46231996+matthew-mccall@users.noreply.github.com>
…nt `TypedVisit` support for `Sine`, and refactor Boost usage in CMake.
621abf4 to
48a2774
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feature-palm-serializerfrom CodingPupper3033/Oasis)origin/masterorigin/mastercmake/FetchBoost.cmake(keeping bothbimap/assignadditions and theBOOST_ENABLE_COMPATIBILITY_TARGETS ONfrom master)io/src/PALMSerializer.cpp,io/src/FromPALM.cpp,io/include/Oasis/PALMSerializer.hpp,io/include/Oasis/FromPALM.hppio/src/PALMHelper.hpp(wasOASIS_PALMCONST_HPP, nowOASIS_PALMHELPER_HPP)