mirror of
https://github.com/janet-lang/janet
synced 2025-11-06 18:43:04 +00:00
Remove no-capture mode in pegs.
Some peg grammars could not capture values based on their position in a larger grammar. This is a design limitation inheritted from LPeg, but no longer needed as the replace mode is superseded by the accumulator mode, which is more general if slightly harder to use.
This commit is contained in:
@@ -1571,7 +1571,8 @@
|
||||
or so. Each element is a two element tuple, containing the path
|
||||
template and a keyword :source, :native, or :image indicating how
|
||||
require should load files found at these paths."
|
||||
@[["./:all:.janet" :source]
|
||||
@[[":all:" :source]
|
||||
["./:all:.janet" :source]
|
||||
["./:all:/init.janet" :source]
|
||||
[":sys:/:all:.janet" :source]
|
||||
[":sys:/:all:/init.janet" :source]
|
||||
@@ -1579,8 +1580,7 @@
|
||||
["./:all:/:name:.:native:" :native]
|
||||
[":sys:/:all:.:native:" :native]
|
||||
["./:all:.jimage" :image]
|
||||
[":sys:/:all:.jimage" :image]
|
||||
[":all:" :source]])
|
||||
[":sys:/:all:.jimage" :image]])
|
||||
|
||||
(var module/*syspath*
|
||||
"The path where globally installed libraries are located.
|
||||
|
||||
Reference in New Issue
Block a user