]> gitweb.factorcode.org Git - factor.git/commitdiff
vocabs.parser: add eval-in-current( ) word for funktors.
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 28 Jun 2016 07:23:30 +0000 (00:23 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 14 Apr 2021 15:33:11 +0000 (08:33 -0700)
core/vocabs/parser/parser.factor

index a1bd8a97dcb8b4841dd67f35dfb2dd55ba59d304..63ca0ef78ef099fd25a86f597f333a2b75b196f9 100644 (file)
@@ -284,11 +284,17 @@ M: manifest definitions-changed
 
 PRIVATE>
 
-: with-manifest ( quot -- )
-    <manifest> manifest [
+: (with-manifest) ( quot manifest -- )
+    manifest [
         [ call ] [
             [ manifest get add-definition-observer call ]
             [ manifest get remove-definition-observer ]
             finally
         ] if-bootstrapping
     ] with-variable ; inline
+
+: with-manifest ( quot -- )
+    <manifest> (with-manifest) ; inline
+
+: with-current-manifest ( quot -- )
+    manifest get (with-manifest) ; inline