f8-engine 0.5.1__tar.gz → 0.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {f8_engine-0.5.1 → f8_engine-0.6.0}/Cargo.lock +102 -9
- {f8_engine-0.5.1 → f8_engine-0.6.0}/Cargo.toml +3 -3
- {f8_engine-0.5.1 → f8_engine-0.6.0}/PKG-INFO +5 -3
- {f8_engine-0.5.1 → f8_engine-0.6.0}/README.md +4 -2
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/compiled/mod.rs +275 -227
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/compiled/model.rs +16 -15
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/emission/error.rs +23 -3
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/emission/workbook.rs +170 -87
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/error.rs +46 -33
- f8_engine-0.6.0/crates/f8-core/src/compiler/eval/context.rs +102 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/eval/error.rs +71 -20
- f8_engine-0.6.0/crates/f8-core/src/compiler/eval/expr.rs +288 -0
- f8_engine-0.6.0/crates/f8-core/src/compiler/eval/mod.rs +116 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/eval/model.rs +0 -6
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/graph/dependency.rs +14 -6
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/graph/error.rs +64 -3
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/graph/mod.rs +1 -1
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/graph/resolve.rs +266 -82
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/ir/error.rs +0 -17
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/ir/expand.rs +30 -1
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/ir/id.rs +8 -2
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/ir/mod.rs +1 -1
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/ir/symbol.rs +129 -9
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/layout/a1.rs +1 -9
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/layout/mod.rs +12 -79
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/lowering/address.rs +8 -1
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/lowering/mod.rs +49 -26
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/mod.rs +23 -26
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/expr/ast.rs +167 -39
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/expr/error.rs +11 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/expr/mod.rs +2 -2
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/expr/parser.rs +541 -80
- f8_engine-0.6.0/crates/f8-core/src/functions/binder.rs +150 -0
- f8_engine-0.6.0/crates/f8-core/src/functions/common.rs +249 -0
- f8_engine-0.6.0/crates/f8-core/src/functions/date/constructors.rs +215 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/date/mod.rs +4 -9
- f8_engine-0.6.0/crates/f8-core/src/functions/date/parts.rs +132 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/date/yearfrac.rs +41 -75
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/error.rs +106 -9
- f8_engine-0.6.0/crates/f8-core/src/functions/financial/annuity.rs +179 -0
- f8_engine-0.6.0/crates/f8-core/src/functions/financial/discounting.rs +251 -0
- f8_engine-0.6.0/crates/f8-core/src/functions/financial/irr.rs +1356 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/financial/mod.rs +3 -4
- f8_engine-0.6.0/crates/f8-core/src/functions/information/mod.rs +97 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/logical/boolean.rs +38 -48
- f8_engine-0.6.0/crates/f8-core/src/functions/logical/branching.rs +161 -0
- f8_engine-0.6.0/crates/f8-core/src/functions/logical/error_handling.rs +68 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/logical/mod.rs +4 -6
- f8_engine-0.6.0/crates/f8-core/src/functions/lookup/index.rs +149 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/lookup/mod.rs +2 -1
- f8_engine-0.6.0/crates/f8-core/src/functions/lookup/search.rs +668 -0
- f8_engine-0.6.0/crates/f8-core/src/functions/lookup/xlookup.rs +154 -0
- f8_engine-0.6.0/crates/f8-core/src/functions/lookup/xmatch.rs +113 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/math/aggregation.rs +99 -75
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/math/basic.rs +12 -23
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/math/mod.rs +4 -16
- f8_engine-0.6.0/crates/f8-core/src/functions/math/product.rs +141 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/math/rounding.rs +25 -42
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/functions/mod.rs +7 -2
- f8_engine-0.6.0/crates/f8-core/src/functions/registry.rs +92 -0
- f8_engine-0.6.0/crates/f8-core/src/functions/traits.rs +516 -0
- f8_engine-0.6.0/crates/f8-core/src/functions/typecheck.rs +885 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/model/error.rs +41 -14
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/model/format.rs +2 -1
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/model/id.rs +2 -1
- f8_engine-0.6.0/crates/f8-core/src/model/manifest.rs +143 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/model/mod.rs +2 -2
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/model/table.rs +65 -2
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/model/theme.rs +8 -20
- f8_engine-0.5.1/crates/f8-core/src/functions/date/serial.rs → f8_engine-0.6.0/crates/f8-core/src/value/date.rs +137 -123
- f8_engine-0.6.0/crates/f8-core/src/value/error.rs +169 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/value/format.rs +111 -46
- f8_engine-0.6.0/crates/f8-core/src/value/mod.rs +685 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-python/src/error.rs +1 -1
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-python/src/model.rs +16 -11
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/__init__.py +4 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/_core.pyi +1 -1
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/audit.py +22 -23
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/cli.py +1 -1
- f8_engine-0.6.0/python/f8/skills/f8-modeling/SKILL.md +55 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/skills/f8-modeling/references/auditing-and-repair.md +13 -12
- f8_engine-0.6.0/python/f8/skills/f8-modeling/references/functions.md +133 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/skills/f8-modeling/references/syntax-and-grid.md +23 -22
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/types.py +2 -0
- f8_engine-0.5.1/crates/f8-core/src/compiler/eval/context.rs +0 -102
- f8_engine-0.5.1/crates/f8-core/src/compiler/eval/expr.rs +0 -216
- f8_engine-0.5.1/crates/f8-core/src/compiler/eval/mod.rs +0 -62
- f8_engine-0.5.1/crates/f8-core/src/functions/common.rs +0 -459
- f8_engine-0.5.1/crates/f8-core/src/functions/date/constructors.rs +0 -283
- f8_engine-0.5.1/crates/f8-core/src/functions/date/parts.rs +0 -235
- f8_engine-0.5.1/crates/f8-core/src/functions/financial/annuity.rs +0 -396
- f8_engine-0.5.1/crates/f8-core/src/functions/financial/discounting.rs +0 -251
- f8_engine-0.5.1/crates/f8-core/src/functions/financial/irr.rs +0 -309
- f8_engine-0.5.1/crates/f8-core/src/functions/logical/branching.rs +0 -327
- f8_engine-0.5.1/crates/f8-core/src/functions/logical/error_handling.rs +0 -140
- f8_engine-0.5.1/crates/f8-core/src/functions/lookup/index.rs +0 -137
- f8_engine-0.5.1/crates/f8-core/src/functions/lookup/search.rs +0 -799
- f8_engine-0.5.1/crates/f8-core/src/functions/lookup/xlookup.rs +0 -143
- f8_engine-0.5.1/crates/f8-core/src/functions/lookup/xmatch.rs +0 -117
- f8_engine-0.5.1/crates/f8-core/src/functions/math/conditional.rs +0 -541
- f8_engine-0.5.1/crates/f8-core/src/functions/math/criteria.rs +0 -441
- f8_engine-0.5.1/crates/f8-core/src/functions/math/product.rs +0 -120
- f8_engine-0.5.1/crates/f8-core/src/functions/registry.rs +0 -217
- f8_engine-0.5.1/crates/f8-core/src/functions/traits.rs +0 -242
- f8_engine-0.5.1/crates/f8-core/src/model/manifest.rs +0 -77
- f8_engine-0.5.1/crates/f8-core/src/value/error.rs +0 -92
- f8_engine-0.5.1/crates/f8-core/src/value/mod.rs +0 -404
- f8_engine-0.5.1/python/f8/skills/f8-modeling/SKILL.md +0 -45
- f8_engine-0.5.1/python/f8/skills/f8-modeling/references/functions.md +0 -128
- {f8_engine-0.5.1 → f8_engine-0.6.0}/LICENSE +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/Cargo.toml +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/compiled/error.rs +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/emission/format.rs +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/emission/mod.rs +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/graph/cycle.rs +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/ir/cell.rs +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/layout/error.rs +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/compiler/lowering/error.rs +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-core/src/lib.rs +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-python/Cargo.toml +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/crates/f8-python/src/lib.rs +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/pyproject.toml +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/__main__.py +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/builder.py +0 -0
- {f8_engine-0.5.1 → f8_engine-0.6.0}/python/f8/py.typed +0 -0
|
@@ -8,6 +8,12 @@ version = "1.5.1"
|
|
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
9
|
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
10
10
|
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bitflags"
|
|
13
|
+
version = "2.13.2"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
16
|
+
|
|
11
17
|
[[package]]
|
|
12
18
|
name = "bumpalo"
|
|
13
19
|
version = "3.20.3"
|
|
@@ -20,6 +26,21 @@ version = "1.0.5"
|
|
|
20
26
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
27
|
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
22
28
|
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "cfg_aliases"
|
|
31
|
+
version = "0.2.2"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
|
|
34
|
+
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "constant_time_eq"
|
|
37
|
+
version = "0.6.1"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "9eb6feb175df65d0a3ccd3e73484e940d0ac664e8034f0519fd49a93db3071d9"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"rustversion",
|
|
42
|
+
]
|
|
43
|
+
|
|
23
44
|
[[package]]
|
|
24
45
|
name = "crc32fast"
|
|
25
46
|
version = "1.5.2"
|
|
@@ -37,7 +58,7 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
|
37
58
|
|
|
38
59
|
[[package]]
|
|
39
60
|
name = "f8-core"
|
|
40
|
-
version = "0.
|
|
61
|
+
version = "0.6.0"
|
|
41
62
|
dependencies = [
|
|
42
63
|
"indexmap",
|
|
43
64
|
"petgraph",
|
|
@@ -50,7 +71,7 @@ dependencies = [
|
|
|
50
71
|
|
|
51
72
|
[[package]]
|
|
52
73
|
name = "f8-python"
|
|
53
|
-
version = "0.
|
|
74
|
+
version = "0.6.0"
|
|
54
75
|
dependencies = [
|
|
55
76
|
"f8-core",
|
|
56
77
|
"pyo3",
|
|
@@ -59,7 +80,7 @@ dependencies = [
|
|
|
59
80
|
|
|
60
81
|
[[package]]
|
|
61
82
|
name = "f8-wasm"
|
|
62
|
-
version = "0.
|
|
83
|
+
version = "0.6.0"
|
|
63
84
|
dependencies = [
|
|
64
85
|
"f8-core",
|
|
65
86
|
"rust_xlsxwriter",
|
|
@@ -114,6 +135,19 @@ dependencies = [
|
|
|
114
135
|
"slab",
|
|
115
136
|
]
|
|
116
137
|
|
|
138
|
+
[[package]]
|
|
139
|
+
name = "getrandom"
|
|
140
|
+
version = "0.4.3"
|
|
141
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
142
|
+
checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
|
|
143
|
+
dependencies = [
|
|
144
|
+
"cfg-if",
|
|
145
|
+
"js-sys",
|
|
146
|
+
"libc",
|
|
147
|
+
"r-efi",
|
|
148
|
+
"wasm-bindgen",
|
|
149
|
+
]
|
|
150
|
+
|
|
117
151
|
[[package]]
|
|
118
152
|
name = "hashbrown"
|
|
119
153
|
version = "0.15.5"
|
|
@@ -200,6 +234,18 @@ dependencies = [
|
|
|
200
234
|
"autocfg",
|
|
201
235
|
]
|
|
202
236
|
|
|
237
|
+
[[package]]
|
|
238
|
+
name = "nix"
|
|
239
|
+
version = "0.32.0"
|
|
240
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
241
|
+
checksum = "77730ed34f01f4990cb2ea67fec715ecebc6fab9a6396cf83c5529b13f581bdc"
|
|
242
|
+
dependencies = [
|
|
243
|
+
"bitflags",
|
|
244
|
+
"cfg-if",
|
|
245
|
+
"cfg_aliases",
|
|
246
|
+
"libc",
|
|
247
|
+
]
|
|
248
|
+
|
|
203
249
|
[[package]]
|
|
204
250
|
name = "once_cell"
|
|
205
251
|
version = "1.21.4"
|
|
@@ -321,11 +367,17 @@ dependencies = [
|
|
|
321
367
|
"proc-macro2",
|
|
322
368
|
]
|
|
323
369
|
|
|
370
|
+
[[package]]
|
|
371
|
+
name = "r-efi"
|
|
372
|
+
version = "6.0.0"
|
|
373
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
374
|
+
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
|
|
375
|
+
|
|
324
376
|
[[package]]
|
|
325
377
|
name = "rust_xlsxwriter"
|
|
326
|
-
version = "0.
|
|
378
|
+
version = "0.102.0"
|
|
327
379
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
328
|
-
checksum = "
|
|
380
|
+
checksum = "6ca3d0e879a578c1313c2800ab0c6c029d38eed18098675e50341a30d32372ed"
|
|
329
381
|
dependencies = [
|
|
330
382
|
"js-sys",
|
|
331
383
|
"wasm-bindgen",
|
|
@@ -455,9 +507,9 @@ dependencies = [
|
|
|
455
507
|
|
|
456
508
|
[[package]]
|
|
457
509
|
name = "typed-path"
|
|
458
|
-
version = "0.
|
|
510
|
+
version = "0.13.0"
|
|
459
511
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
-
checksum = "
|
|
512
|
+
checksum = "9ce898823d8cd0f028662d2f349694b1af0a5cc9be83f1d213a00d3147445e1e"
|
|
461
513
|
|
|
462
514
|
[[package]]
|
|
463
515
|
name = "unicode-ident"
|
|
@@ -515,17 +567,58 @@ dependencies = [
|
|
|
515
567
|
"unicode-ident",
|
|
516
568
|
]
|
|
517
569
|
|
|
570
|
+
[[package]]
|
|
571
|
+
name = "windows-link"
|
|
572
|
+
version = "0.2.1"
|
|
573
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
574
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
575
|
+
|
|
576
|
+
[[package]]
|
|
577
|
+
name = "windows-sys"
|
|
578
|
+
version = "0.61.2"
|
|
579
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
580
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
581
|
+
dependencies = [
|
|
582
|
+
"windows-link",
|
|
583
|
+
]
|
|
584
|
+
|
|
585
|
+
[[package]]
|
|
586
|
+
name = "zeroize"
|
|
587
|
+
version = "1.9.1"
|
|
588
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
589
|
+
checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879"
|
|
590
|
+
dependencies = [
|
|
591
|
+
"zeroize_derive",
|
|
592
|
+
]
|
|
593
|
+
|
|
594
|
+
[[package]]
|
|
595
|
+
name = "zeroize_derive"
|
|
596
|
+
version = "1.5.0"
|
|
597
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
598
|
+
checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328"
|
|
599
|
+
dependencies = [
|
|
600
|
+
"proc-macro2",
|
|
601
|
+
"quote",
|
|
602
|
+
"syn 2.0.119",
|
|
603
|
+
]
|
|
604
|
+
|
|
518
605
|
[[package]]
|
|
519
606
|
name = "zip"
|
|
520
|
-
version = "
|
|
607
|
+
version = "9.6.0"
|
|
521
608
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
522
|
-
checksum = "
|
|
609
|
+
checksum = "80cc68510ea7553c30a69c732de5278e94183f68765af6c642dbccefd6ec777e"
|
|
523
610
|
dependencies = [
|
|
611
|
+
"constant_time_eq",
|
|
524
612
|
"crc32fast",
|
|
525
613
|
"flate2",
|
|
614
|
+
"getrandom",
|
|
526
615
|
"indexmap",
|
|
616
|
+
"libc",
|
|
527
617
|
"memchr",
|
|
618
|
+
"nix",
|
|
528
619
|
"typed-path",
|
|
620
|
+
"windows-sys",
|
|
621
|
+
"zeroize",
|
|
529
622
|
"zopfli",
|
|
530
623
|
]
|
|
531
624
|
|
|
@@ -3,7 +3,7 @@ resolver = "3"
|
|
|
3
3
|
members = ["crates/f8-core", "crates/f8-python"]
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
|
-
version = "0.
|
|
6
|
+
version = "0.6.0"
|
|
7
7
|
edition = "2024"
|
|
8
8
|
description = "Financial modeling engine with compiler verification and live Excel formulas"
|
|
9
9
|
authors = ["Michael (Chencheng) Hu, CFA"]
|
|
@@ -16,9 +16,9 @@ indexmap = { version = "2.7", features = ["serde"] }
|
|
|
16
16
|
petgraph = "0.8.3"
|
|
17
17
|
serde = { version = "1.0", features = ["derive"] }
|
|
18
18
|
serde_json = { version = "1.0", features = ["preserve_order"] }
|
|
19
|
-
rust_xlsxwriter = "0.
|
|
19
|
+
rust_xlsxwriter = "0.102"
|
|
20
20
|
thiserror = "2.0"
|
|
21
|
-
zip = { version = "
|
|
21
|
+
zip = { version = "9.6", default-features = false }
|
|
22
22
|
pyo3 = { version = "0.24", default-features = false, features = ["macros"] }
|
|
23
23
|
pythonize = "0.24"
|
|
24
24
|
wasm-bindgen = "0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: f8-engine
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: Intended Audience :: Financial and Insurance Industry
|
|
@@ -47,7 +47,7 @@ AI agents struggle to manipulate raw spreadsheets (`openpyxl`, Office.js, or GUI
|
|
|
47
47
|
- Semantic 2D modeling: Author models with readable table, row, and column identifiers; `f8` handles spatial layout and lowers logic into native Excel formulas.
|
|
48
48
|
- Compiler-enforced rigor: A 6-pass Rust compiler verifies grid completeness (zero unassigned cells or formula overlaps) and enforces a strict DAG via Tarjan cycle detection.
|
|
49
49
|
- Closed-loop verification: Evaluates formulas in memory so AI agents and test suites (`pytest`, `vitest`) can audit tables, trace dependencies, and verify accounting checks in milliseconds, without opening Excel.
|
|
50
|
-
- Verified Excel parity: Matches Excel
|
|
50
|
+
- Verified Excel parity: Matches Excel across all 34 supported functions, combining compile-time type and shape verification with exact Excel domain error propagation and the 1900 leap day bug. The [parity workbook](https://github.com/mhcfa/f8/releases/latest/download/excel_parity_verification.xlsx) ships without cached values, so Excel itself recalculates and grades every case on open (`ParityVerification` sheet: exact match for integers, text, dates, and lookups; 1e-9 relative tolerance for floating-point and iterative functions; runtime error check via `ISERROR`; plus a dedicated `ExcelDivergences` sheet documenting intentional runtime domain and solver divergences from legacy Excel quirks).
|
|
51
51
|
|
|
52
52
|
## Getting started
|
|
53
53
|
|
|
@@ -175,7 +175,8 @@ Output:
|
|
|
175
175
|
|
|
176
176
|
Inspect compiled deliverables generated from real-world models:
|
|
177
177
|
|
|
178
|
-
- [
|
|
178
|
+
- [costco-valuation.xlsx](https://github.com/mhcfa/f8/releases/latest/download/costco-valuation.xlsx): Compiled 3-statement, DCF, and trading comparables financial model with live Excel formulas.
|
|
179
|
+
- [costco-equity-valuation.pdf](https://github.com/mhcfa/f8/releases/latest/download/costco-equity-valuation.pdf): Equity valuation report and presentation rendered from the compiled `f8` model.
|
|
179
180
|
- [lbo_model.xlsx](https://github.com/mhcfa/f8/releases/latest/download/lbo_model.xlsx): Multi-sheet leveraged buyout (LBO) model with transaction structuring, debt waterfall, and returns analysis.
|
|
180
181
|
|
|
181
182
|
### LBO model demo
|
|
@@ -207,6 +208,7 @@ Jokes aside, writing models in code gives you 40 years of software infrastructur
|
|
|
207
208
|
3. Constantly re-compiling just to peek at the Excel workbook can be a bit annoying, so we provide in-memory inspection methods in both SDKs. Once you get used to printing tables in the terminal, you don't need to open the `.xlsx` all the time (or just ask AI to do it).
|
|
208
209
|
4. There are no circular references or iterative solvers (as per FAST Standard Section 2.01). There is a closed-form formula that solves the revolver circularity problem without circular references anyway (and don't worry, AI knows it).
|
|
209
210
|
5. There is no native Excel chart emission yet (on roadmap), and no Pivot Tables. But since you are already in code, your language ecosystem handles data aggregation much better.
|
|
211
|
+
6. It is a one-way flow (`code -> Excel`). Editing the emitted `.xlsx` workbook won't sync back to your code, and re-compiling will overwrite manual changes. This is by design, `.xlsx` is a compiled deliverable, not a source file.
|
|
210
212
|
|
|
211
213
|
## Architecture
|
|
212
214
|
|
|
@@ -21,7 +21,7 @@ AI agents struggle to manipulate raw spreadsheets (`openpyxl`, Office.js, or GUI
|
|
|
21
21
|
- Semantic 2D modeling: Author models with readable table, row, and column identifiers; `f8` handles spatial layout and lowers logic into native Excel formulas.
|
|
22
22
|
- Compiler-enforced rigor: A 6-pass Rust compiler verifies grid completeness (zero unassigned cells or formula overlaps) and enforces a strict DAG via Tarjan cycle detection.
|
|
23
23
|
- Closed-loop verification: Evaluates formulas in memory so AI agents and test suites (`pytest`, `vitest`) can audit tables, trace dependencies, and verify accounting checks in milliseconds, without opening Excel.
|
|
24
|
-
- Verified Excel parity: Matches Excel
|
|
24
|
+
- Verified Excel parity: Matches Excel across all 34 supported functions, combining compile-time type and shape verification with exact Excel domain error propagation and the 1900 leap day bug. The [parity workbook](https://github.com/mhcfa/f8/releases/latest/download/excel_parity_verification.xlsx) ships without cached values, so Excel itself recalculates and grades every case on open (`ParityVerification` sheet: exact match for integers, text, dates, and lookups; 1e-9 relative tolerance for floating-point and iterative functions; runtime error check via `ISERROR`; plus a dedicated `ExcelDivergences` sheet documenting intentional runtime domain and solver divergences from legacy Excel quirks).
|
|
25
25
|
|
|
26
26
|
## Getting started
|
|
27
27
|
|
|
@@ -149,7 +149,8 @@ Output:
|
|
|
149
149
|
|
|
150
150
|
Inspect compiled deliverables generated from real-world models:
|
|
151
151
|
|
|
152
|
-
- [
|
|
152
|
+
- [costco-valuation.xlsx](https://github.com/mhcfa/f8/releases/latest/download/costco-valuation.xlsx): Compiled 3-statement, DCF, and trading comparables financial model with live Excel formulas.
|
|
153
|
+
- [costco-equity-valuation.pdf](https://github.com/mhcfa/f8/releases/latest/download/costco-equity-valuation.pdf): Equity valuation report and presentation rendered from the compiled `f8` model.
|
|
153
154
|
- [lbo_model.xlsx](https://github.com/mhcfa/f8/releases/latest/download/lbo_model.xlsx): Multi-sheet leveraged buyout (LBO) model with transaction structuring, debt waterfall, and returns analysis.
|
|
154
155
|
|
|
155
156
|
### LBO model demo
|
|
@@ -181,6 +182,7 @@ Jokes aside, writing models in code gives you 40 years of software infrastructur
|
|
|
181
182
|
3. Constantly re-compiling just to peek at the Excel workbook can be a bit annoying, so we provide in-memory inspection methods in both SDKs. Once you get used to printing tables in the terminal, you don't need to open the `.xlsx` all the time (or just ask AI to do it).
|
|
182
183
|
4. There are no circular references or iterative solvers (as per FAST Standard Section 2.01). There is a closed-form formula that solves the revolver circularity problem without circular references anyway (and don't worry, AI knows it).
|
|
183
184
|
5. There is no native Excel chart emission yet (on roadmap), and no Pivot Tables. But since you are already in code, your language ecosystem handles data aggregation much better.
|
|
185
|
+
6. It is a one-way flow (`code -> Excel`). Editing the emitted `.xlsx` workbook won't sync back to your code, and re-compiling will overwrite manual changes. This is by design, `.xlsx` is a compiled deliverable, not a source file.
|
|
184
186
|
|
|
185
187
|
## Architecture
|
|
186
188
|
|