* FML interpreter. Europagate, 1995
*
* $Log: fmlmem.c,v $
- * Revision 1.4 1995/02/09 14:33:37 adam
+ * Revision 1.5 1995/02/09 14:37:18 adam
+ * Removed .depend from cvs. Removed function fml_mk_list.
+ *
+ * Revision 1.4 1995/02/09 14:33:37 adam
* Split source fml.c and define relevant build-in functions in separate
* files. New operators mult, div, not, llen implemented.
*
return a0;
}
-struct fml_node *fml_mk_list (Fml fml, struct fml_node *fn)
-{
- if (fn->is_atom)
- {
- struct fml_node *fn2;
-
- fn2 = fml_node_alloc (fml);
- fn2->is_atom = 1;
- fn2->p[0] = fn->p[0];
- return fn2;
- }
- else
- return fn->p[0];
-}
-
int fml_atom_str (struct fml_atom *a, char *str)
{
int len = 0;
* FML interpreter. Europagate, 1995
*
* $Log: fmlp.h,v $
- * Revision 1.4 1995/02/09 14:33:37 adam
+ * Revision 1.5 1995/02/09 14:37:19 adam
+ * Removed .depend from cvs. Removed function fml_mk_list.
+ *
+ * Revision 1.4 1995/02/09 14:33:37 adam
* Split source fml.c and define relevant build-in functions in separate
* files. New operators mult, div, not, llen implemented.
*
int fml_atom_str (struct fml_atom *a, char *str);
void fml_atom_strx (struct fml_atom *a, char *str, int max);
int fml_atom_val (struct fml_atom *a);
-struct fml_node *fml_mk_list (Fml fml, struct fml_node *fn);
void fml_node_delete (Fml fml, struct fml_node *fn);
struct fml_node *fml_node_copy (Fml fml, struct fml_node *fn);
struct fml_node *fml_mk_node_val (Fml fml, int val);