AlgebraicJulia / AlgebraicJulia/StockFlow.jl

Enforce list of allowed operators?

Aperta
#57 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
82
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Right now, there is a list of operators in StockFlow.jl which are supposed to be all those allowed in a stock flow definition, but it isn't currently enforced. EG, the following is valid, even though foobar isn't in the allowed list

k = @stock_and_flow begin
:stocks
S
:dynamic_variables
k = foobar(S)
end

We may be able to add constants by treating them like nullary operators, too, but that's a whole other can of worms.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.