newdg.sl 503 B

1234567891011121314151617
  1. % Fexpr for defining GLISP functions.
  2. (dm dg (x)
  3. (prog (result)
  4. (put (cadr x) 'gloriginalexpr (cons 'lambda (cddr x)))
  5. (return
  6. (cond (glcompiledefflg
  7. (glcc (cadr x))
  8. (setq result (cons 'df
  9. (cons (cadr x)
  10. (cdr (get (cadr x) 'glcompiled)))))
  11. (put (cadr x) 'glcompiled nil)
  12. result)
  13. (t (glputhook (cadr x))
  14. (list 'quote (cadr x)) )) )))