File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 497497 [("julia " ) core->julia]
498498 [("matlab " ) core->matlab]
499499 [("wls " ) core->wls]
500+ [("pvs " ) core->pvs]
500501 [("tex " ) core->tex]
501502 [("js " ) core->js]
502503 [else (error "Unsupported target language: " target-lang)]))
Original file line number Diff line number Diff line change 1010 core->julia
1111 core->matlab
1212 core->wls
13+ core->pvs
1314 core->tex
1415 expr->tex
1516 core->js
4849 core->julia
4950 core->matlab
5051 core->wls
52+ core->pvs
5153 core->tex
5254 expr->tex
5355 core->js)
142144 ("Julia " "jl " ,core->julia)
143145 ("MATLAB " "mat " ,core->matlab)
144146 ("Wolfram " "wl " ,core->wls)
147+ ("PVS " "pvs " ,core->pvs)
145148 ("TeX " "tex " ,(λ (c i) (core->tex c)))))
146149
147150(define (fpcore->tex fpcore #:loc [loc #f ])
156159 (core-cse (program->fpcore expr ctx #:ident identifier))))
157160
158161 (define output-prec (representation-name output-repr))
159- (define out-prog* (fpcore-add-props out-prog (list ':precision output-prec)))
162+ (define precondition* (prog->fpcore precondition ctx))
163+ (define out-prog* (fpcore-add-props out-prog (list ':precision output-prec ':pre precondition*)))
160164
161165 (define versions
162166 (reap [sow]
You can’t perform that action at this time.
0 commit comments