Justin Ethier
98ed54d72d
WIP
2025-01-20 19:26:59 -08:00
Justin Ethier
d262334297
WIP
2025-01-20 19:24:09 -08:00
Justin Ethier
158e0f737f
Try different approach
2025-01-20 19:10:18 -08:00
Justin Ethier
7d6d7b9bc3
Only format internal headers
2025-01-20 19:00:34 -08:00
Justin Ethier
45686f6c86
Issue 522 - Add unit test framework for C runtime ( #545 )
...
* WIP - C unit testing stubs
* Get test-lib to compile and run
* Add test-lib to CI
* Use cflags for test-lib
* Build runtime library
* Fix typo
* Break into separate CI tasks
* Cleanup
* Add example tests for non-CPS
* Include -g option for test-lib
* Add CI to build C runtime
Can expand into scheme at some point, this is a first step.
* Use latest upload workflow
2024-09-24 21:57:33 -04:00
Justin Ethier
405d256e99
Added test-format
2024-01-11 19:58:03 -08:00
Justin Ethier
bc65e31a6a
Rename indent to "format"
2024-01-11 19:35:46 -08:00
Justin Ethier
af12489ec6
Expand indent directive
2024-01-11 19:34:59 -08:00
Amirouche
c294b642ad
Makefile: CYCLONE_FOO: replace -A with -I...
...
... in order to take into account the in tree libraries first.
2022-12-06 17:35:35 +01:00
Amirouche
74faacac50
whitespace cleanup.
2022-12-06 17:33:29 +01:00
Sören Tempel
012fa56e0c
Makefile: Also pass -L. for CYCLONE_SYSTEM
...
Otherwise, the Cyclone compiler build from cyclone.scm using the
installed Cyclone version will use the libcyclone.a and libcyclonebn.a
file from /usr/lib instead of the one compiled as a prerequisite by
GNU make in the current directory.
2022-09-02 05:40:11 +02:00
Justin Ethier
cf66cf1057
Test is linux only
2022-07-21 22:10:02 -04:00
Justin Ethier
de27768ee2
Issue #489 - unit test for eval/begin order of args
2022-07-21 21:48:12 -04:00
Justin Ethier
be48ac9ea7
Issue #488 - Add api-doc directive
2022-07-17 11:18:33 -04:00
Justin Ethier
bcecdd912a
Issue #365 - Add new test file
2022-06-26 18:51:38 -04:00
Justin Ethier
a5e8cdc5ad
Merge pull request #479 from nmeum/cyclone-local-libs
...
Makefile: Add `-A libs` to CYCLONE_LOCAL
2021-08-15 22:29:26 -04:00
Sören Tempel
34908a56a7
Makefile: Add -A libs
to CYCLONE_LOCAL
...
Otherwise `make libs` cannot find `(cyclone test)`:
./cyclone -A . -COPT '-Iinclude' -CLNK '-L.' libs/cyclone/test.sld
Error: Unable to open file: "/usr/lib/cyclone/cyclone/test.scm"
make: *** [Makefile:170: libs/cyclone/test.o] Error
2021-08-14 20:16:36 +02:00
Sören Tempel
e08e7d3958
Improve Makefile prerequisites
...
Since commit 15a8f2cfe5
the build order
must be as follows:
1. Bootstrap cyclone.scm using a pre-existing compiler.
2. Using cyclone from the previous step, build all libraries.
3. Using the artifacts from the previous two steps, build
icyc, examples, and tests.
This commit updates the Makefile prerequisites accordingly to reflect
this change in build order. Otherwise, Cyclone does not correctly
compile in parallel build mode with `-jN`.
2021-08-14 00:29:32 +02:00
Justin Ethier
d2915abe6a
Issue #477 - Clean up
2021-08-12 23:01:04 -04:00
Justin Ethier
4ff0bca100
Issue #477 - Added CYC_PTHREAD_SET_STACK_SIZE
2021-08-12 22:46:13 -04:00
Justin Ethier
15a8f2cfe5
Issue #476 - Build libraries / interpreter using local cyclone
2021-08-12 22:15:21 -04:00
Justin Ethier
b69b65756b
Added more unit tests
2021-07-30 17:11:43 -04:00
Justin Ethier
197499aea4
Add test module for (scheme base)
2021-07-26 13:36:40 -04:00
Justin Ethier
909f99d1c0
Bootstrap test files
2021-07-26 13:33:50 -04:00
Justin Ethier
ed799e4bbb
Issue #279 - Add unit tests
2021-07-26 13:27:22 -04:00
Justin Ethier
d06dbcb64a
Remove dispatch.c, port Cyc_apply
2021-02-21 10:53:16 -05:00
Justin Ethier
6a59ab2a5d
Issue #428 - Removed obsolete (srfi 9)
2020-12-29 21:30:51 -05:00
Justin Ethier
36252090d3
Add SRFI 128 tests
2020-09-30 13:09:03 -04:00
Justin Ethier
84a34658f5
Update copyright
2020-08-14 17:52:57 -04:00
Justin Ethier
79085bc70e
Add call-from-scm examples to build directive
2020-08-14 17:42:38 -04:00
Justin Ethier
937f6b61c2
Added ffi module
2020-08-14 14:37:19 -04:00
Arthur Maciel
1a76af8d9e
Removed all traces of array-list from core
2020-05-26 21:09:14 -03:00
Justin Ethier
0e160060a1
Include foreign.meta
2020-04-28 19:14:50 -04:00
arthurmaciel
c3cf1b04f9
Change 'make' into '$(MAKE)' for libtommath installation
...
If hardcoded, 'make' will use native FreeBSD 'make' instead of 'gmake'.
2019-12-28 10:12:33 -03:00
Justin Ethier
f4b81ccb73
Remove unused headers
2019-10-23 09:45:50 -04:00
Justin Ethier
6510a24550
Use new libtommath
2019-10-22 12:27:03 -04:00
Justin Ethier
bbc62d8d14
Cleanup
2019-10-18 13:09:41 -04:00
Justin Ethier
db66a876f7
Sync headers
2019-10-18 13:01:44 -04:00
Justin Ethier
4a4d2c57af
Integrate bignum library
2019-10-17 18:17:19 -04:00
Justin Ethier
f143c26024
Build tommath as part of compilation
2019-10-17 10:01:11 -04:00
Justin Ethier
c39465e6cf
Sync new file
2019-09-10 17:36:06 -04:00
Justin Ethier
0c050a3065
Added platform to (features)
2019-07-31 13:06:31 -04:00
arthurmaciel
6ccda0c8ef
Successfuly installed and tested Cyclone on FreeBSD 12.0 with clang 6.0.1. Updated docs, adaptaed sync.sh and corrected Makefile
2019-07-29 06:58:52 -03:00
Justin Ethier
e3b582e936
Add new unit tests
2019-07-02 13:27:51 -04:00
Justin Ethier
1a1f707a73
Relocated test library
2019-06-19 18:29:42 -04:00
Justin Ethier
072fd6b63e
Stub
2019-06-19 13:25:18 -04:00
Justin Ethier
d1e408c4e1
Fix paths
2019-06-19 13:21:47 -04:00
Justin Ethier
9122afdc83
No .scm files to install at this time
2019-06-07 12:24:17 -04:00
Justin Ethier
cbc95c4c34
Add libs/cyclone
2019-06-06 19:07:57 -04:00
Justin Ethier
abfbb0c747
Fix bug in bench directive
2019-05-23 13:38:21 -04:00