I assume that implementing the XACML evaluation engine is not an easy task. You need to go through the XACML specification https://www.oasis-open.org/committees/xacml/ and execute an implementation based on it. It would be better if you could find an already implemented authorization mechanism based on XACML.
Balana is one of the implementations of XACML (with a partial XACML 3.0 version), which is an open source Java-based project.
Therefore, you can use it freely, and you can find the source kernel from https://svn.wso2.org/repos/wso2/trunk/commons/balana/ .
Also, if you really want to implement the new XACML engine, you can go to the Balana source code and get an idea of ββthe implementation or reuse of the source code. More information about Balan and XACML can be found in this blog post at http://xacmlinfo.com/ . I think java will be an easy language to solve, since you need to work with a lot of XML materials.
source share