Skip to content
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

Missing information on typenameof #20

Open
paxcut opened this issue Aug 17, 2024 · 1 comment
Open

Missing information on typenameof #20

paxcut opened this issue Aug 17, 2024 · 1 comment

Comments

@paxcut
Copy link
Contributor

paxcut commented Aug 17, 2024

The Expressions section on Pattern Language has a subsection for type operators where sizeof and addressof are introduced yet nothing is said about typenameof. Maybe the reason is that typenameof is not defined as a provider operator (typenameof($) returns an error).

If addressof($) returns the base address of the input and sizeof($) returns the size of the input maybe typenameof($) should return the name of the input file which is kind of hard to get using the provider library function.

@C3pa
Copy link
Contributor

C3pa commented Nov 2, 2024

So, this being an issue in the docs repo, I'd recommend only requesting that typenameof be added to docs here, while the feature request that typenameof($) returns the name of the input file be forwarded to pattern language repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants