| Age | Commit message (Collapse) | Author |
|
These are run before the value is ever used. For implementing the source
TOFU update helper.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Position information was not fully populated when this was first
implemented. The lack of any position information keeps the user
guessing. This change includes position information in the error and
formats it as part of the error message.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is included in the evaluation error message.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is significantly more readable and helpful than simply using
the %#v verb.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This significantly helps with debugging: the %#v text is incredibly
unhelpful to read, and just ends up filling the terminal with useless
information.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This allows expressions like string concatenation for the KV key part.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
For situations where a package uses a just-built program as part of its
own build process.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This successfully cross-compiles the toolchain. More work is needed to
support cross-compilation on all native helpers and existing packages.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This removes most redundant runtime arguments and is useful for cross-compilation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Specials are hacked on, so they do not support regular nil values. This change handles the nil identifier as a special case.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This also implements a nil-capable string type.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This replaces the '*' placeholder with a less confusing '#'.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is useful for some helper functions. Performance is unaffected.
Before:
BenchmarkStage3-128 8308 1960687 ns/op 1023794 B/op 14755 allocs/op
BenchmarkAll-128 3331 5518571 ns/op 2902320 B/op 37993 allocs/op
After:
BenchmarkStage3-128 8330 1946273 ns/op 1023046 B/op 14750 allocs/op
BenchmarkAll-128 3296 5585805 ns/op 2901746 B/op 37991 allocs/op
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This works around particularly unwieldy build systems.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is a much cleaner representation than the separator syntax.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
For source handle special case.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Supported fields are still rather minimal, but evaluation works, and resulting artifacts cure correctly.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This is more efficient for the inputs array and packages in general.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
Performance is sufficient for the use case, despite the fact that I could not even think of a lower-effort way to do this:
BenchmarkParse-128 55100 21494 ns/op
BenchmarkEvaluate-128 131670 9248 ns/op
Signed-off-by: Ophestra <cat@gensokyo.uk>
|
|
This syntax is not final, but acts as a stopgap solution and a proof of concept.
Signed-off-by: Ophestra <cat@gensokyo.uk>
|