Emmanuel Thompson

Results 134 comments of Emmanuel Thompson

@constfold Any thoughts on https://github.com/sharksforarms/deku/issues/225#issuecomment-864578411 ? Does an attribute named `ctx_nested` make sense?

I'm still not sure how I'd like to approach this, if at all. Have you considered writing your own proc-macro to accomplish this? I'll try and give you an example...

I agree, there's some attributes which only make sense for read. I wonder if there's a better way to describe this.

This is neat! Thanks for making a PR. I'll give it a review shortly! I propose adding an example, here's something I came up with to try it out. Feel...

Hey @coolreader18 just a friendly ping! Are you still interested in working on this?

@RReverser @v1gnesh @constfold @wcampbell0x2a We can continue the discussion here. Would a `ctx_nested` attribute be sufficient?

> If you have time, can you please help me understand how I can use this in the context of this comment - > [#213 (comment)](https://github.com/sharksforarms/deku/issues/213#issuecomment-841948929) This PR woudln't address...

> https://github.com/sharksforarms/deku/issues/225#issuecomment-864477322 I think I'd like something even more general though - ideally I'd want to be able to define custom parsers for built-in types (e.g. LEB128 for integers, custom...

@RReverser @v1gnesh these are interesting suggestions, I never really thought about an override for built-in types. I like the solution above but it is verbose and kinda a hack way...

Understood, this does seem a little tedious. Not sure I'm in favor of a default map function, it would only be able to accept a single type? What happens to...