mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 12:20:20 +02:00
* Makefile.am: Fix ETAGS_ARGS to recognize GUILE_PROC,
GUILE_PROC1. Build guile-procedures.txt, and add that file to pkgdata_DATA. * load.c: Added `pkgdata-dir', `site-dir', `library-dir' primitives. * guile-doc-snarf.awk: Drop trailing space when no arguments: e.g., "(foo )" is now "(foo)". * *.c: moved all the documentation for primitives from guile-doc/ref/{appendices,posix,scheme}.texi into the source code. This leaves about half of the primitives undocumented. Also, all the markup is currently still texinfo. I don't have a problem with texinfo per se, but the markup is not very descriptive or accurate.
This commit is contained in:
parent
75948d1b31
commit
4079f87ed2
47 changed files with 2239 additions and 320 deletions
|
@ -87,7 +87,8 @@ GUILE_PROC(scm_makmmacro, "procedure->memoizing-macro", 1, 0, 0,
|
|||
|
||||
GUILE_PROC (scm_macro_p, "macro?", 1, 0, 0,
|
||||
(SCM obj),
|
||||
"")
|
||||
"Return @code{#t} if @var{obj} is a regular macro, a memoizing macro or a
|
||||
syntax transformer.")
|
||||
#define FUNC_NAME s_scm_macro_p
|
||||
{
|
||||
return SCM_BOOL(SCM_NIMP (obj) && SCM_TYP16 (obj) == scm_tc16_macro);
|
||||
|
@ -101,7 +102,10 @@ SCM_SYMBOL (scm_sym_mmacro, "macro!");
|
|||
|
||||
GUILE_PROC (scm_macro_type, "macro-type", 1, 0, 0,
|
||||
(SCM m),
|
||||
"")
|
||||
"Return one of the symbols @code{syntax}, @code{macro} or @code{macro!},
|
||||
depending on whether @var{obj} is a syntax tranformer, a regular macro,
|
||||
or a memoizing macro, respectively. If @var{obj} is not a macro,
|
||||
@code{#f} is returned.")
|
||||
#define FUNC_NAME s_scm_macro_type
|
||||
{
|
||||
if (!(SCM_NIMP (m) && SCM_TYP16 (m) == scm_tc16_macro))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue