How to use nested modules?

Hey Community,

I was playing around with Spicy and was wondering if it is possible to use nested modules.

Something like:
module protocol::types;

with:
import protocol_types;

variable: protocol::types::mytype;

But I can’t get it working. Is this even possible?

Would be a nice feature.

Thanks in advance.

Your zeek noob

But I can’t get it working. Is this even possible?

No, Spicy does not support nested modules.

I am not sure what use case beyond code organization this would enable, is there something you have in mind which could not be achieved by encoding “nesting” in module names?

This topic was automatically closed after 60 days. New replies are no longer allowed.