Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
haxe [2020/06/27 18:37] adminhaxe [2020/06/27 20:02] admin
Line 6: Line 6:
  
 **The magic of //Haxe//**\\ **The magic of //Haxe//**\\
-This powerful facility is powered by the open-source project called //[[https://haxe.org|Haxe]]//. The author of TAD, Sabu Francis, has been an activer Haxe followers for years -- and all that experience helped in providing this feature. With release 4.1.2 of Haxe, that project has matured a lot in order to be used inside TAD.  From version 6.8 TAD now has the capability to //internally// parse the TAD model and export that as Haxe source code. +This powerful facility is powered by the open-source project called //[[https://haxe.org|Haxe]]//. The author of TAD, Sabu Francis, has been an active follower of the Haxe project for years -- and all that experience helped in providing this feature. With release 4.1.2 of Haxe, that project has matured a lot in order to be used inside TAD.  
  
-**Export permission token**\\ +From version 6.8 TAD now has the capability to //internally// parse the TAD model and export that as Haxe source code.  
-To use this feature, we are requesting you to get a special //token// that needs to be pasted into this dialog. The why and what of this [[exportpermission|permission token is explained in a separate topic]].+ 
 +**Important: Export permission token**\\ 
 +To use this feature, you would have to get a special //token// that needs to be pasted into this dialog. The why and what of this [[exportpermission|permission token is explained in a separate topic]].
  
 **Export to Haxe and other languages**\\ **Export to Haxe and other languages**\\
-If you want to export your TAD model to Haxe; then it is done in a jiffy. using this //Export to code// feature. TAD does not require you to use or install Haxe yourself in your computer. This option is very useful if you are yourself not a software developer but you want to give the model to some other software developer trained in Haxe to do further work+If you want to export your TAD model to Haxe; then it is done in a jiffy. using this //Export to code// feature. If your only intention was to produce Haxe code,  then TAD does not require you to use or install //Haxe// in your computer. This option is very useful if you are yourself not a software developer but you want to give the model for additional work to be done on your model in //Haxe//.  
 + 
 +TAD does not come bundled with //Haxe//. That project is a separate open-source project with its own license. You should read its conditions and install if you are satisfied. As of 27th June 2020 //haxe// is a free, open-source software; but if you are reading this later you should verify their license conditions. TAD is not connected with the //Haxe// project.
  
-TAD does not come bundled with Haxe. That project is separate open-source project with its own license. You should read its conditions and install if you are satisfiedAs of 27th June 2020 it is a free softwarebut if you are reading this later you should verify their license conditionsTAD is not connected with the Haxe project.+TAD does a lot more if you do install //Haxe// on your computer If you do have Haxe available on your computerTAD can then export your TAD model to several different languages, such as Javascript,PHP,Python,Lua.,C++,C# and so on. You can see the list in the dialog
  
-But TAD does a lot more if you do install //Haxe// on your computer.  If you do have Haxe available on your computer; TAD can then export your TAD model to several different languages, such as Javascript,PHP,Python,Lua.,C++,C# and so on. We are now keeping a close watch on the development of the //Haxe// project and future versions of TAD would take advantages of new features of Haxe too.+We are now keeping a close watch on the development of the //Haxe// project and future versions of TAD would take advantages of new features of Haxe too. We are also considering other languages that //Haxe// does not support; and we may give source-code generation of those languages too. But let me not get ahead of myself.
  
 The //export to code// feature of TAD was extensively tested on Haxe 4.1.2   The //export to code// feature of TAD was extensively tested on Haxe 4.1.2  
  
-//A caveat: We found the 32 bit Windows version of Haxe lot more stable than the 64 bit. Once you install Haxe, it comes with a package manager called haxelib -- you would need to use that and install some additional libraries used by Haxe. Follow their documentation for details.//+//A caveat: We found the 32 bit Windows version of Haxe lot more stable than the 64 bit. Once you install Haxe, it comes with a package manager called haxelib -- you would need to use that and install some additional libraries used by Haxe. Follow their documentation for details.//
  
 By default, when TAD exports code -- it does it in such a way that it creates a "main function" and so you can directly make standalone applications that would work inside your computer. This main function does a simple output: It traces out the areas of two objects.  You can modify the main function by carefully editing the file //tadextra.haxe.txt// which is in the bin folder of the TAD installation. By default, when TAD exports code -- it does it in such a way that it creates a "main function" and so you can directly make standalone applications that would work inside your computer. This main function does a simple output: It traces out the areas of two objects.  You can modify the main function by carefully editing the file //tadextra.haxe.txt// which is in the bin folder of the TAD installation.
  
-Once you invoke this //Export to code// feature;l try creating a standalone executable binary by making it export to a CPP source+binary.  You would need at least the Microsoft Visual Studio Express edition (which is free) installed on your computer.+Once you invoke this //Export to code// feature;l try creating a standalone executable binary by making it export to a C++ source+binary.  You would need at least the Microsoft Visual Studio Express edition (which is free) installed on your computer to produce the binary executable. Without Microsoft Visual Studio Express (or the full version) only the C++ source code is generated.
  
-Note that the output need not have any "main()" routine. We happen to give one for demo purpose. But you can chose to ignore it./ In such a case you can export your TAD model to a //library//-- and not compile it into a standalone executable. +Note that the Haxe output need not have any "main()" routine. We happen to give one for demo purpose -- so that you know that TAD indeed can generate the final executable. But you can chose to ignore it./ In such a case you can export your TAD model to a //library//-- and not compile it into a standalone executable. 
  
 You or a software developer you employ can write such a function yourself externally and use the library produced using our //Export to code// facility and you should be able to get a very rich application.  You or a software developer you employ can write such a function yourself externally and use the library produced using our //Export to code// facility and you should be able to get a very rich application. 

Press F1 inside the application to read context-sensitive help directly in the application itself
Last modified: le 2023/04/22 20:59