This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
kararas_iris
Watch
1
Star
0
Fork
0
You've already forked kararas_iris
mirror of
https://github.com/kataras/iris.git
synced
2025-12-20 11:27:06 +00:00
Code
Releases
Activity
Files
d6d27b26050ad5dba0f6ec25c09fdfdd0709fa07
kararas_iris
/
core
/
router
/
macro
/
interpreter
History
Gerasimos (Makis) Maropoulos
dc3c38b189
add the ability to add custom parameter types to the interpreter and mapped macros with any number of macro functions - example added - although it's working it is not ready yet - I have to do some cleanup, doc comments and a TODO
...
Former-commit-id: 8ac751b649a3b8e59948fd4c89ad53d25f49d0d5
2018-09-26 11:37:11 +03:00
..
ast
add the ability to add custom parameter types to the interpreter and mapped macros with any number of macro functions - example added - although it's working it is not ready yet - I have to do some cleanup, doc comments and a TODO
2018-09-26 11:37:11 +03:00
lexer
New ':int64' and ':uint64' route path parameters - and - support the new uint64 for MVC (int64 was already supported there) - and - add ctx.Params().GetUint64 (GetInt64 was already there) - and - make the ':int or :number' to accept negative numbers with no digit limit (at low level) and rename the 'app.Macros().Int.RegisterFunc' to 'Number.RegisterFunc' because number can be any type of number not only standard go type limited - and - add alias for ':boolean' -> ':bool'. Finally, Update the examples but not the version yet, I have to provide a good README table to explain the end-developers how they can benefit by those changes and why the breaking change (which is to accept negative numbers via ':int') is for their own good and how they can make their own macro functions so they do not depend on the Iris builtn macro funcs only. More to come tomorrow, stay tuned
2018-08-23 06:30:12 +03:00
parser
add the ability to add custom parameter types to the interpreter and mapped macros with any number of macro functions - example added - although it's working it is not ready yet - I have to do some cleanup, doc comments and a TODO
2018-09-26 11:37:11 +03:00
token
New ':int64' and ':uint64' route path parameters - and - support the new uint64 for MVC (int64 was already supported there) - and - add ctx.Params().GetUint64 (GetInt64 was already there) - and - make the ':int or :number' to accept negative numbers with no digit limit (at low level) and rename the 'app.Macros().Int.RegisterFunc' to 'Number.RegisterFunc' because number can be any type of number not only standard go type limited - and - add alias for ':boolean' -> ':bool'. Finally, Update the examples but not the version yet, I have to provide a good README table to explain the end-developers how they can benefit by those changes and why the breaking change (which is to accept negative numbers via ':int') is for their own good and how they can make their own macro functions so they do not depend on the Iris builtn macro funcs only. More to come tomorrow, stay tuned
2018-08-23 06:30:12 +03:00