Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate parser program for 'intrusive' #17

Open
healytpk opened this issue Feb 4, 2020 · 0 comments
Open

Separate parser program for 'intrusive' #17

healytpk opened this issue Feb 4, 2020 · 0 comments

Comments

@healytpk
Copy link

healytpk commented Feb 4, 2020

I've begun writing a short C++ program to take a normal header file like so:

	struct Monkey {
		int a;
		float b;
		char c[5];
	};

and turn it into:

	typedef char char_5[5];

	struct Monkey {
		BEGIN_VISITABLES(Monkey);
		VISITABLE(int, a);
		VISITABLE(float, b);
		VISITABLE(char_5, c);
		END_VISITABLES;
	};

I can show you what I have so far.

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

No branches or pull requests

1 participant