evalEmpire / Mite

Mite - A zero dependency, fast loading, Moose-like Perl module
Other
3 stars 1 forks source link

Add basic meta class based on Class::MOP::Class #7

Open schwern opened 10 years ago

schwern commented 10 years ago

Like Class::MOP::Class, each Mite class needs a ->meta method to return a meta object. Unlike Class::MOP::Class, this meta class is immutable. It only supplies information.

The goal is to implement a subset of Class::MOP::Class. Just implement the things that return strings and booleans.

Implement...

Hard code as much information as possible at compile time.

tobyink commented 2 years ago

I've moved the Mite issue tracker here.

This is now kind of implemented. Mite can provide real Moose::Meta::Class objects. This obviously requires Moose, which is loaded on demand when you call $class->meta. This allows Moose to extend Mite classes, etc.

schwern commented 1 year ago

@tobyink If you have your own, I'm going to archive this repository.