Introduce an infix syntax for div
and mod
#411
Labels
AskScript
./src/askscript/**
enhancement
New feature or request
size: 4h (small-medium)
tasks for approx. 4 hours
type:syntax
related to syntax or syntax sugar
Following a discussion in another issue, we want to be able to write in AskScript expressions like:
where
div
andmod
are already existing resources for integer division and modulo respectively.We want to support it just for
div
andmod
and not any other identifier.Dear new contributor,
If you have any questions on how to start, please write a comment with a tag: @czerwinskilukasz1 or @mhagmajer, or join our Discord Community and let us know there. We will be very happy to help you start! :)
Hint for now: This task requires changes in our parser grammar (
askscript.grammar.pegjs
file), which uses PEG.js syntax .Cheers,
Łukasz (@czerwinskilukasz1)
AskQL Core Developer
The text was updated successfully, but these errors were encountered: