-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Signature concept #7580
Comments
I agree that the signature system needs some work and I guess that you came up w/ a quite solid approach. However I am having some trouble following it 😅 . Some questions / comments:
|
Hello, @crepererum! About the categories:There is a finite set of data types (which we denote by DataType)
About Kleene algebra:I choosed Kleene algebra (which is used for regular expressions). So if we create the algorithm for So, each type of signature represents a seperate DFA. About meta algebra:As exist situations, which a signature can check not only by one DFA, but many. So, we create the same regular meta language. For full compatibility, it is worth adding two new signature types ( English is not the author’s native language, so there may be some difficulties in understanding. |
Is your feature request related to a problem or challenge?
Follow on #6559.
Argument quality:
def
) and undefined (undef
);eq
) and unequal (uneq
);Combine qualities:
eq-def
(equal definite)eq-undef
(equal undefined)uneq-def
(unequal definite)uneq-undef
(unequal undefined)Algebra
Kleene algebra {+, ·, *}
uneq-def1
+uneq-def2
+ ...)*eq-undef
)*uneq-undef
)*uneq-def1
+uneq-def2
+ ...)^nuneq-def1
·uneq-def2
· ...)uneq-undef
)^n(+)
: present in the current version;(-)
: not present in the current version;Undefined
eq-undef
uneq-undef
arg
)*VariadicEqual
(+)VariadicAny
(+)arg
)^nEqual
(-)Any
(+)Definite
eq-def
uneq-def
arg1
+arg2
+ ...)*Variadic
with single argument (+)Variadic
with multiple arguments (+)arg1
+arg2
+ ...)^nUniform
with single argument (+)Uniform
with multiple arguments (+)arg1
·arg2
· ...)Exact
with the same data type (+)Exact
with different data types (+)Meta Algebra
Kleene algebra {+, ·, *}
expr1
+expr2
+ ...TypeSignature
if it makes senseexpr1
·expr2
· ...Exact
,Uniform
,Equal
,Any
(without Kleene closure)Argument expansion
Variadic
Input:
Output:
Uniform
Input:
Output:
Exact
Input:
Output:
Proposed code for future features:
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: