Various small tools that help with C++ code editing.
To use this package, put the following dependency into your project's dependencies section:
Simple Tooling for C++ Code
Various small tools that help with C++ code editing build on top of Facebook's C++ Linter
flint is published at https://github.com/facebook/flint. It's
Tokenizer.d is the basis of this whole project.
Fun with D ranges
This is all about D ranges and the fun to create something with it.
We get an array of proper C++ tokens thanks to
Tokenizer.d. Based on this we
create a nested structure of
Entity objects by looking for pairs for curly
At this point various custom ranges can be used to transform the tokens and entities.
CxxImplement.d: Given a header/source file pair, add new functions from header to source
CxxMerge.d: Merge multiple C++ files while preserving the namespace structure
CxxSortFunctions.d: Sort functions by name while preserving the namespace structure
These utils are very specific and will not work on your files.
MergedRange.d: Merge multiple token arrays into one
SortRange.d: Sort functions with namespaces in token array
TokenRange.d: Map tokens to entities
TreeRange.d: Make a range out of a nested tree structure
UnifyRange.d: Unify functions in namespaces
Distributed under the Boost license.
- Registered by Ulrich Küttler
- 0.0.1 released 4 years ago
- Boost Software License - Version 1.0
- Copyright © 2014, ukuettler