JuliaDynamics / DiscreteEvents.jl

Discrete event generation and simulation in Julia
MIT License
56 stars 10 forks source link

Feature request: macros #29

Closed hdavid16 closed 4 years ago

hdavid16 commented 4 years ago

Have you considered defining macros for main commands (i.e. @run)?

pbayer commented 4 years ago

yes, I did consider macros and I think they could be a great addition, mainly @fun, @Prc, @process!, @event! and friends. I would like if somebody joined me with some help.

hdavid16 commented 4 years ago

Sounds good. I'll see if I can make some time in the next couple of weeks to take a look at that implementation.

pbayer commented 4 years ago

@hdavid16 thank you very much for your PR! This is a great addition.

Could you please complete the macros as suggested in the PR? Then I merge, do the integration into documentation and testing and release 0.3.1.

pbayer commented 4 years ago

I reopen now for steps 2..4

pbayer commented 4 years ago

With the above commits I

pbayer commented 4 years ago

Release DiscreteEvents 0.3.1

Introduces a macro API with contributions of @hdavid16

@JuliaRegistrator register

JuliaRegistrator commented 4 years ago

Registration pull request created: JuliaRegistries/General/21484

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.1 -m "<description of version>" 5feccdb697cd938402e02e52013ea22560bff8d8
git push origin v0.3.1
pbayer commented 4 years ago

everything done. Hopefully this time more interest and feedback on discourse!

Thank you very much @hdavid16 .