Commit Graph

34 Commits

Author SHA1 Message Date
Lassi Kortela 47f2962f2b Add stuff for the command-line pre-SRFI 2020-04-07 12:25:06 +03:00
Lassi Kortela f81e7f815a Add os-executable-file builtin 2020-04-07 10:21:45 +03:00
Lassi Kortela 8cb5cff824 Move definition down 2020-03-08 17:04:43 +02:00
Lassi Kortela 9e76fdb005 Update version output to match SRFI 176 draft 2 2020-02-13 23:54:05 +02:00
Lassi Kortela cbbf3e4be1 Move code 2020-02-13 23:51:51 +02:00
Lassi Kortela 1108480bd6 Move version stuff from main.c into env.c 2019-10-17 19:25:49 +03:00
Lassi Kortela 66af12605b Turn spec versions into integers 2019-10-14 20:18:43 +03:00
Lassi Kortela 3c25f24d59 Add Upscheme specs to version alist 2019-10-14 19:42:20 +03:00
Lassi Kortela fe92459368 Add some consts 2019-10-14 19:40:37 +03:00
Lassi Kortela 975ad5de51 Add release and build info to version-alist
env_release.h shall be updated on each release.
2019-10-14 19:15:45 +03:00
Lassi Kortela c048a8ee6c Shadow ALIGN macro defined by system headers
OpenBSD sys/param.h defines it.
2019-10-14 11:58:20 +03:00
Lassi Kortela a174bba817 Get rid of the float_t and double_t nonsense
Necessitates a big refactoring of the magic macros that make the types.
2019-10-14 02:27:33 +03:00
Lassi Kortela f3527b178c Implement (features) and (version-alist) 2019-10-14 00:43:31 +03:00
Lassi Kortela b655859822 Add more C-side accum helpers 2019-10-14 00:43:00 +03:00
Lassi Kortela 874ffe9007 Add write_simple_defaults() helper 2019-10-14 00:42:04 +03:00
Lassi Kortela 5e9bb704c8 Add string-vector accumulator utility for C 2019-10-13 22:56:45 +03:00
Lassi Kortela 0d315e320e Add most SRFI 175 ASCII character procedures 2019-09-29 12:32:57 +03:00
Lassi Kortela 5f53326df8 Replace path.exists? with file-exists? in C 2019-09-02 19:46:27 +03:00
Lassi Kortela b7db5bb755 Rename string.split into string-split
By analogy to SRFI 140. TODO: Think about character delimiter.
2019-08-28 16:18:37 +03:00
Lassi Kortela 4fef0b89b9 Add const 2019-08-28 13:30:07 +03:00
Lassi Kortela 40ba694ea6 Make environment variable procedures match R7RS 2019-08-28 12:49:10 +03:00
Lassi Kortela b33f6c9d76 Add a proper list accumulator utility in C 2019-08-28 12:45:21 +03:00
Lassi Kortela e5813fe5c9 Add directory listing primitives from SRFI 170 draft
TODO: 'dotfiles?' flag and 'directory-files' procedure
2019-08-28 11:11:55 +03:00
Lassi Kortela 847eb585ae Reorganize boot image inclusion on C
Cuts the build time in half that flisp.c is no longer re-compiled
unnecessarily.
2019-08-27 10:31:31 +03:00
Lassi Kortela 297e6fa13d Reorganize headers some more 2019-08-27 10:20:30 +03:00
Lassi Kortela 43b41bc8a6 Remove unused T_LONG and T_ULONG defines 2019-08-27 01:33:43 +03:00
Lassi Kortela 248840df1f Get rid of LLT malloc wrappers 2019-08-27 01:25:11 +03:00
Lassi Kortela 934bf9d859 Replace typedef bool_t with int 2019-08-27 01:17:52 +03:00
Lassi Kortela f72c3e9f02 Move more things into compiler-specific headers
This commit has probably broken all compilers except GCC/Clang.
2019-08-27 01:14:59 +03:00
Lassi Kortela 9409096c0a Rename error_*.h -> scheme_compiler_*.h 2019-08-27 00:46:45 +03:00
Lassi Kortela b989d60bcd Start rearranging things within scheme.h 2019-08-27 00:42:13 +03:00
Lassi Kortela c24161d584 Streamline comments in scheme.h 2019-08-27 00:37:20 +03:00
Lassi Kortela b8ae211127 Consolidate the code itself from .h files to scheme.h 2019-08-27 00:24:58 +03:00
Lassi Kortela 2c7fe440e9 Add changes from missed in last commit 2019-08-27 00:24:54 +03:00