Skip to content

C-Generator: simplify output handling#490

Closed
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:c-generator
Closed

C-Generator: simplify output handling#490
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:c-generator

Conversation

@chqrlie
Copy link
Copy Markdown
Contributor

@chqrlie chqrlie commented Apr 9, 2026

  • pass output string_buffer to all C code emitters
  • create File object in Generator.write
  • merge make_path_ext into make_path using optional arguments
  • merge File.init_ext into File.init using optional arguments
  • simplify file name constructors

* pass output string_buffer to all C code emitters
* create `File` object in `Generator.write`
* merge `make_path_ext` into `make_path` using optional arguments
* merge `File.init_ext` into `File.init` using optional arguments
* simplify file name constructors
@bvdberg
Copy link
Copy Markdown
Member

bvdberg commented Apr 11, 2026

merged!

@bvdberg bvdberg closed this Apr 11, 2026
@chqrlie chqrlie deleted the c-generator branch April 11, 2026 08:41
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