Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "RustExpr to separate pretty printing from traverse Agda internals" #19

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

lemastero
Copy link
Owner

Reverts #18

@lemastero lemastero merged commit 5853726 into one-arg-id Dec 18, 2023
1 check passed
@lemastero lemastero deleted the revert-18-rustexpr-split-prettyprint-parse branch December 18, 2023 14:59
lemastero added a commit that referenced this pull request Dec 18, 2023
* test existing code creating moduleHeader

* module header is proper Rust comment

* fix non-compiling Test.agda example - add test.Test module

* handle module name and brackets

* handle function name, brackets around body, raw body

* handle data type definition as enum - name, brackets and raw clauses

* update examples Hello and Test with new handling of functions and data types

* simplify Hello.agda enum + function on enum

* extract functions for hande functions, handle data type, handle module

* handle enums

* use bracket, rename handleX to compileX

* use bracket, rename handleX to compileX - fix unit tests

* use bracket, rename handleX to compileX - fix unit tests 2

* extract PrettyPrintingUtils and ToRustCompiler; common types between ToRustCompiler and Backed are in CommonTypes

* add typeSeparator and argList for pretty printing

* compile singe argument function - argument name, its argument, function result type and single variable result body

* compile singe argument function - add return

* compile singe argument function - update Hello example

* compile singe argument function - add comments for further improvements

* proper function return type; rename to be more in-line with Rust naming style

* fix function return types (broke during rebase)

* change to lowercase names

* remove empty lines

* fix use module name instead of first directory

* RustExpr to separate pretty printing from traverse Agda internals (#18)

* add RustExpr to separate pretty printing and creating expression from Agda internals

* rename after refactor to RustExpr

* rename after refactor to RustExpr - fix

* swap unless to when

* Revert "RustExpr to separate pretty printing from traverse Agda internals (#18)" (#19)

This reverts commit 2f56f9a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant