Sift the flour and baking powder into a medium bowl.
In a stand mixer fitted with the paddle attachment, add the eggs and beat them for 2 to 3 minutes. With the mixer set on low speed gradually add in the sugar and mix until fully incorporated, then beat for another 2 minutes. Add the butter, then add the anise and vanilla extracts. Add the flour mixture and mix until well combined. Using a spoon or a mini cookie scoop, place about 1 heaping tablespoon in each side of the waffle maker and close. Cook for 1 to 2 minutes, depending on the waffle maker and your preferred color on the cookies. Remove the cookies with an offset spatula or fork, and then cool completely until crisp. Repeat for the remaining cookies.