MiroslavVitkov/cgetset
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
cgetset - a small utility for automatic setter/getter functions generation. The program parses a text file of variable declarations. As of now, nearly no grammar is supported - no unions, structs, bitfields, let alone classes and other c++ complications. The use is as follows: cgetset <input file> <templates folder> The program searches in the templates folder for fiels with names, matching those of the declared types e.g. "int.h" && "int.c". Then it simply appends the file to the corresponding output file. If a matching template file is not found, "default" is searched. If that is also not found, the program crashes. '@' characters, encountered in the template file, are exchanged for the current variable's name.
About
simple c parser - generates getter/setter methods for all declarations, self-contained
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published