mirror of
https://github.com/janet-lang/janet
synced 2025-09-02 10:58:03 +00:00
Several changes to move pipe creation back into ev.c
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
# Patch janet.h
|
||||
|
||||
(def [_ janeth janetconf output] (dyn :args))
|
||||
|
||||
(def- replace-peg
|
||||
(peg/compile
|
||||
~(% (* '(to `#include "janetconf.h"`)
|
||||
(constant ,(slurp janetconf))
|
||||
(thru `#include "janetconf.h"`)
|
||||
'(any 1)))))
|
||||
|
||||
(spit output (first (peg/match replace-peg (slurp janeth))))
|
||||
(spit output (peg/replace `#include "janetconf.h"` (slurp janetconf) (slurp janeth)))
|
||||
|
Reference in New Issue
Block a user