BlueBrain / nmodl

Code Generation Framework For NEURON MODeling Language
https://bluebrain.github.io/nmodl/
Apache License 2.0
49 stars 15 forks source link

Don't install fmt and backward. #1193

Closed 1uc closed 4 months ago

bbpbuildbot commented 4 months ago

Logfiles from GitLab pipeline #197546 (:white_check_mark:) have been uploaded here!

Status and direct links:

bbpbuildbot commented 4 months ago

Logfiles from GitLab pipeline #197547 (:white_check_mark:) have been uploaded here!

Status and direct links:

1uc commented 4 months ago

@pramodk The question for review is: can NMODL generate code that uses fmt for formatting a string? Something like:

    static void nrn_alloc_funkymech(Prop* _prop) {
        int k = 42;
        std::string name = fmt::format("foo_{}, k);
pramodk commented 4 months ago

@pramodk The question for review is: can NMODL generate code that uses fmt for formatting a string? Something like:

No, it doesn't! (it's only used inside visitors like codegen)