Skip to content

Commit 963c6d0

Browse files
committed
Merge pull request #343 from gitoleg/bap-future-PR
Future library - a library for co-inductive data types This library provides a foundation for reasoning about dynamic state systems. It provides two main data types: `future` that is a value, that maybe defined in the future, and `stream` that is an infinite stream of finite values, useful to capture objects with a value that changes in time.
2 parents ff2f464 + ef0a94a commit 963c6d0

12 files changed

+1845
-0
lines changed

.merlin

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ B _build/lib/bap
1919
B _build/lib/bap_disasm
2020
B _build/lib/bap_dwarf
2121
B _build/lib/bap_elf
22+
B _build/lib/bap_future
2223
B _build/lib/bap_image
2324
B _build/lib/bap_sema
2425
B _build/lib/bap_trace
@@ -29,6 +30,7 @@ S lib/bap
2930
S lib/bap_disasm
3031
S lib/bap_dwarf
3132
S lib/bap_elf
33+
S lib/bap_future
3234
S lib/bap_image
3335
S lib/bap_sema
3436
S lib/bap_trace

_oasis

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,14 @@ Library bap_image
182182
Image_common,
183183
Image_internal_std
184184

185+
Library bap_future
186+
Path: lib/bap_future/
187+
FindlibParent: bap
188+
FindlibName: future
189+
CompiledObject: best
190+
BuildDepends: core_kernel
191+
InternalModules: Bap_future
192+
185193
Library elf_backend
186194
Path: lib/bap_image/
187195
FindlibParent: bap
@@ -348,6 +356,14 @@ Library project_test
348356
Install: false
349357
Modules: Test_project
350358

359+
Library future_test
360+
Path: lib_test/bap_future
361+
Build$: flag(tests)
362+
CompiledObject: best
363+
BuildDepends: bap.future, oUnit
364+
Install: false
365+
Modules: Test_future_std, Test_future, Test_stream
366+
351367
Library dwarf_test
352368
Path: lib_test/bap_dwarf
353369
Build$: flag(tests)
@@ -454,6 +470,7 @@ Executable run_tests
454470
BuildDepends: bap.plugins,
455471
disasm_test,
456472
dwarf_test,
473+
future_test,
457474
image_test,
458475
oUnit,
459476
sema_test,

0 commit comments

Comments
 (0)