Skip to content

Robert42/codebiber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codebiber

This crate is an rust library for metaprogramming. It allows mixing autogenerated code into handwritten code. It is heavily inspired by Ned Batchelder's cog application.

Disclaimer

This work is provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.

It is an experimental library and has an experimental API, behavior and implementation and no longterm plans. Use at own risk.

Changelog

v0.0.1

  • Minumum supported rust version is now 1.63 (for regular builds, not dev builds) 05ed194ddaa2127b671c0345cfdf8e4330419242
  • Not using unstable features anymore 0341b2d033173a4f7d6e084ae14bd36f623db9d5

v0.1.0

Breaking changes:

  • Generated hashsums are not blake3 anymore but crc32 sums
  • length of the stored sum is not configurable anymore
  • process_files expects now a function that accepts the file path
  • identifiers can contain arbitrary inline-characters before the last >> in the line same.

Remove all dependencies:

  • Reimplement the parser with a handwritten parser
  • Use crc32 instead of blake3

About

Library for mixing handwritten and autogenerated code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages