An open API service providing commit metadata for open source projects.

GitHub / expr-lang/expr / commits

Expression language and expression evaluation for Go

SHA Message Author Date Stats
4b31df3a Add Betterleaks to Expr usage examples (#979) Zachary Rice <1****v@u****m>
Committed by: GitHub <n****y@g****m>
about 1 month ago
2010a112 feat: allow field access on concrete types behind interface values (#952) Sergey Kozlov <s****v@c****m>
Committed by: GitHub <n****y@g****m>
3 months ago
630bbf0d fix(vm): clear error when fetching field from string at runtime (#963)
Signed-off-by: Sai Asish Y <s****5@g****m>
Sai Asish Y <s****5@g****m>
Committed by: GitHub <n****y@g****m>
3 months ago
3a46b197 fix(compiler): pop stale bool from stack in emitLoopBackwards (#954)
Co-authored-by: lawrence3699 <l****9@u****m>
chaoliang yan <z****2@a****u>
Committed by: GitHub <n****y@g****m>
4 months ago
b90e77c6 docs: add Kargo's usage of expr (#944)
Signed-off-by: Jesse Suen <j****e@a****o>
Jesse Suen <j****n@u****m>
Committed by: GitHub <n****y@g****m>
5 months ago
851b241a fix(vm): handle non-comparable groupBy keys (#940)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
6 months ago
27acc2dd fix: reject unexported struct fields at runtime (#935)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
6 months ago
3abfc80c fix: wrap LoadLocation error in date() builtin (#931)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
6 months ago
21f4f057 Fix impossible unsigned integer comparisons in Abs() function (#919) Copilot <1****t@u****m>
Committed by: GitHub <n****y@g****m>
6 months ago
3461fbb4 perf(vm): optimize loop iteration with scope pool (#908)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
6 months ago
94ec86d3 fix(patcher): ctx into nested custom funcs and Env (#883)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
6 months ago
552eb1ba Disable check for missing predicate during parseing Anton Medvedev <a****n@m****o> 6 months ago
40bda0b3 Disable check for missing predicate during parseing Anton Medvedev <a****n@m****o> 6 months ago
75a31bc2 fix(fuzz): skip json unsupported type errors (#928)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
6 months ago
391930f2 chore(ci): add Go 1.26 to test matrix (#929)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
6 months ago
f0176e7a Update README.md: Added GlassFlow.dev in the list of companies using expr (#927)
Signed-off-by: Ashish Bagri <a****i@g****m>
Ashish Bagri <a****i@g****m>
Committed by: GitHub <n****y@g****m>
6 months ago
2aaa9aa0 fix(checker): detect $env() calls at compile time (#923)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
0785f198 fix(fuzz): skip reflect err for variadic calls (#921)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
d3805b02 fix(builtin): bounds check to get() (#918)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
9c830634 fix(fuzz): JSON number overflow errs in fromJSON (#915)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
553025ac fix(fuzz): reduce mem budget to prevent timeouts (#913)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
77df2118 fix(checker): validate sortBy order argument type (#912)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
a9ac10fa perf(builtin): add fast paths for min, max, mean, and median (#909)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
556b1d14 fix(compiler): reduce empty array without init val (#911)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
1fa02826 fix(fuzz): skip invalid location name errors (#907)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
5ef01205 fix(vm): validate arg count before OpCall (#904)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
4ff281dd perf(optimizer): add count threshold comparisons (#898)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
ebbe1bac fix(fuzz): skip time parsing errors (#901)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
02f92c2a feat(parser): add bytes literal syntax (#894)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
de0da096 fix(fuzz): handle bare "invalid argument" (#899)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
7 months ago
13c5b65f perf(optimizer): count comparisons to any (#897)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
8 months ago
0fcde75f perf(optimizer): add sum range optimization (#896)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
8 months ago
3111bbe8 Expand `testdata/generated.txt` with exhaustive boolean and conditional expre... Anton Medvedev <a****n@m****o> 8 months ago
d082f3d5 Update README.md
Signed-off-by: Anton Medvedev <a****n@m****o>
Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
8 months ago
476d403f Add variation for conditional `if-else` formatting in `gen.go` Anton Medvedev <a****n@m****o> 8 months ago
c020e959 fix(checker): correct variadic method arg type (#889)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
8 months ago
d4722867 Improve gen.go Anton Medvedev <a****n@m****o> 8 months ago
713a26a2 Add support for Unicode escape sequences in the `\u{XXXXXX}` format (#882) Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
8 months ago
6ed72a21 Add `DisableIfOperator` option (#881) Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
8 months ago
4d38449b chore: test and build on Go 1.25 (#880)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
8 months ago
087698e2 Add error handling for invalid `if` condition and test for crash with null byte Anton Medvedev <a****n@m****o> 8 months ago
738da0b3 Remove `ExampleDisableShortCircuit` test function Anton Medvedev <a****n@m****o> 8 months ago
eb73788e Add `else if` support (#879) Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
8 months ago
cf53913b Improve the performance of runtime.Fetch for structures (#833)
Co-authored-by: Anton Medvedev <a****n@m****o>
montag451 <m****1@l****t>
Committed by: GitHub <n****y@g****m>
8 months ago
e5ee6c24 Rename `DisableSC` to `ShortCircuit` for better clarity and consistency Anton Medvedev <a****n@m****o> 8 months ago
1973835b feat: add disable short-circuiting option to compiler (#847)
Co-authored-by: Anton Medvedev <a****n@m****o>
lvliangxiong <l****g@f****m>
Committed by: GitHub <n****y@g****m>
8 months ago
55e913be VM performance improvements in function calls (#832)
Co-authored-by: Anton Medvedev <a****n@m****o>
Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
8 months ago
d652fbe8 Throw an error if predicate not present in parser (#842)
Co-authored-by: Anton Medvedev <a****n@m****o>
David Orozco <3****y@u****m>
Committed by: GitHub <n****y@g****m>
8 months ago
daf1790d fix: auto-deref for map/slice and conditionals (#871)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
8 months ago
f493d7db Add test for handling missing property Anton Medvedev <a****n@m****o> 8 months ago
775fc3ac feat: support byte slice in matches operator (#876)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
8 months ago
593f93fe fix(vm): guard negative forward jump offsets (#861)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>, Anton Medvedev <a****n@m****o>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
9 months ago
a2a9f371 fix(vm): guard VM stack against underflow (#860)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
9 months ago
f423c10c fix(optimizer): wrap merged results as predicates (#864)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
9 months ago
709b577d fix(vm): handle nil in AsBool with undef vars (#866)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
9 months ago
96bace44 chore: add regression test for issue 823 (#867)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
9 months ago
cf589a44 fix(vm): handle nil arguments in variadic funcs (#868)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
9 months ago
73384e11 fix(vm): show func for safe calls in disassembly (#869)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
9 months ago
3dbda4bd fix(builtin): limit recursion depth (#870)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
9 months ago
ad495449 fix(checker): array type in conditional op (#865)
Signed-off-by: Ville Vesilehto <v****e@v****i>
Ville Vesilehto <v****e@v****i>
Committed by: GitHub <n****y@g****m>
9 months ago
5ac4a1a7 make ast.Node return *nature.Nature (#849) Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
11 months ago
3d0aec62 Fix #844 alternative 2: do not allow access to unexported struct fields (#846)
Co-authored-by: Anton Medvedev <a****n@m****o>
Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
11 months ago
7dbd4091 Issue 840: Fix get field pointer struct (#843) Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
11 months ago
69b27afa Update README.md Anton Medvedev <a****n@m****o> 11 months ago
5f4de201 Add more tests Anton Medvedev <a****n@m****o> 11 months ago
bcb2d510 Improve Performance of the Type System (#824)
Co-authored-by: Anton Medvedev <a****n@m****o>
Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
11 months ago
1c09e5e9 Fix error position reporting in multiline script (#827) Andreev Fedor <f****v@g****m>
Committed by: GitHub <n****y@g****m>
12 months ago
bbcbc530 Allow backticks to be quoted in string literals (#820) Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
12 months ago
87df7831 Update README.md (#815)
Signed-off-by: David Klassen <d****n@p****e>
David Klassen <d****n@p****e>
Committed by: GitHub <n****y@g****m>
about 1 year ago
11286428 fix VM not clearing memory references when reused (#813) Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
about 1 year ago
f1c65fa3 Fix runtime error not allowing to slice unaddressable array type (#803)
Co-authored-by: Anton Medvedev <a****n@m****o>
Signed-off-by: Anton Medvedev <a****n@m****o>
Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
about 1 year ago
85d0be85 Ignoring fields with struct tag expr:"-" and make "in" return false for unexp...
Co-authored-by: Anton Medvedev <a****n@m****o>
Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
about 1 year ago
98b0990d Improve parser and lexer (#811) Diego Augusto Molina <d****a@g****m>
Committed by: GitHub <n****y@g****m>
about 1 year ago
eeb1b8b6 Add expr.MaxNodes() option (#799) Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
about 1 year ago
5fbfe721 Revert "Run diff / bench in parallel" Anton Medvedev <a****n@m****o> about 1 year ago
1609a12c Revert "Fix diff.yml" Anton Medvedev <a****n@m****o> about 1 year ago
0bae5401 Fix diff.yml Anton Medvedev <a****n@m****o> about 1 year ago
6d7d7d68 Run diff / bench in parallel Anton Medvedev <a****n@m****o> about 1 year ago
ebf0d8ba Add check for non struct types to fetchField (#794)
Co-authored-by: yigitkanbalci <y****i@g****m>
Yigitkan Balci <y****i@g****m>
Committed by: GitHub <n****y@g****m>
about 1 year ago
f974b88d Do not repeat patcher definition in ExamplePatch() (#792) Vincent Bernat <v****t@b****h>
Committed by: GitHub <n****y@g****m>
about 1 year ago
28d9b3d4 fix(785): `get` to work when return is `nil` (#786) 2pac <t****n@g****m>
Committed by: GitHub <n****y@g****m>
over 1 year ago
785630f7 Update test.yml Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
over 1 year ago
e190ea2e Remove gotestfmt Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
over 1 year ago
57fe8098 Update test.yml Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
over 1 year ago
d0b5b37a Update gotestfmt Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
over 1 year ago
bb2a3e57 Add gotestfmt Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
over 1 year ago
6121e25b Make expr.Eval faster (#775) Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
over 1 year ago
3a0a1da5 Refactor examples tests Anton Medvedev <a****n@m****o> over 1 year ago
646c17c9 Add examples testing Anton Medvedev <a****n@m****o> over 1 year ago
ac5b2c73 Update examples.txt Anton Medvedev <a****n@m****o> over 1 year ago
6565f13d gen: fix Anton Medvedev <a****n@m****o> over 1 year ago
27604cf5 gen: fix predicate generator Anton Medvedev <a****n@m****o> over 1 year ago
253a4a11 gen: less string vars Anton Medvedev <a****n@m****o> over 1 year ago
0a4ba824 gen: add $env Anton Medvedev <a****n@m****o> over 1 year ago
ccfad1d3 gen: add vars Anton Medvedev <a****n@m****o> over 1 year ago
a81f28a1 gen: simplify search Anton Medvedev <a****n@m****o> over 1 year ago
dc7c3021 gen: use all cpus Anton Medvedev <a****n@m****o> over 1 year ago
437bc8e5 Refactor random code get Anton Medvedev <a****n@m****o> over 1 year ago
e135bda1 Fix parsing of variable declaration nodes combined with sequence node (#773) Anton Medvedev <a****n@m****o>
Committed by: GitHub <n****y@g****m>
over 1 year ago
0f99b191 Update docs Anton Medvedev <a****n@m****o> over 1 year ago

← Back to repository