Skip to content

Conversation

@fukamachi
Copy link
Collaborator

The codegen macros are commonly used to check the code generated by Coalton, but they show on REPL with a lot of COMMON-LISP: prefixes.

This PR adds pprint version of them.

  • pprint-coalton-codegen
  • pprint-coalton-codegen-types
  • pprint-coalton-codegen-ast

Besides, though UFix is used many times, it is displayed as being too long, like (AND FIXNUM UNSINGED-BYTE).

This adds UFix type in coalton-impl/util so that it shows it clearly.

Screenshots

Before

Screenshot 2025-03-24 at 18 01 40

After

Screenshot 2025-03-24 at 17 59 59

@stylewarning stylewarning merged commit f54ac9c into coalton-lang:main Mar 24, 2025
25 checks passed
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.

2 participants