Comments (1)
Yes, not all the modifier have been added yet. See commit 9621e71 for updated modifiers. Usage can be seen in the tests added in test_interpreter.rb. I discovered if any variables have the same name as the modifier tokens the interpreter will error out. For that reason I would prefer to be verbose in their naming, and for it to be less cryptic than what FANUC designates it as. However for now, both 'mrot', and 'minimal_rotation' will work. This isn't a big issue, but the error message TP-Plus gives is a bit unclear, so handling that error should be added in.
Right now the only examples are in the test_interpreter.rb it uses for unit testing. I'll open up an issue to add an examples folder with .tpp examples to make it more visible, and with better examples. For now if you are unsure of what functionality it has search through test_interpreter.rb, or see the token list in token.rb, and then search for the token in test_interpreter.rb.
If you have other TP code snippets that are not interpreted by TP-Plus, or .tpp code gives you an error, please post the code snippet in a new issue, and I'll try and implement it as soon as I am able to. I'll get around to adding in the rest of the modifiers at a later time.
from tp_plus.
Related Issues (20)
- Issues with Ruby 3.1.1 HOT 3
- Environmental declarations not working in functions HOT 2
- Add Independent and Simultaneous motion group instructions
- Call functions in expression only work for num registers
- Namespace functions to self are not recognized HOT 1
- Cannot interpret nested call statements in return HOT 1
- Multiple returns statement
- local variables as arguments in built-in math functions not working HOT 1
- Inlining self members is not working HOT 3
- Do expression expansion in conditions for (if, ifthen, while, for) nodes HOT 1
- Expression expansion doesn't reuse local registers after completed
- Brackets in constant expressions are being removed violating BEDMAS HOT 1
- If no position data is defined an empty position is printed. No Position should be printed at all in this case.
- Local posreg does not recognize the global default pose config HOT 2
- Print how many local registers are being used
- Add Quick Skip HOT 1
- Add shared stack
- tpp can't compile more than one call of inlined functions HOT 1
- indirect and inline functions
- indirect method for pose_reg is not working in tpp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tp_plus.