Recent

Author Topic: ct2laz - convertor between CodeTyphon and Lazarus  (Read 49395 times)

wp

  • Hero Member
  • *****
  • Posts: 12525
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #45 on: January 11, 2021, 03:43:43 pm »
Since you want to convert to CT, you should post your question in the CodeTyphon forum - they should know how to do this because most of their packages once were Lazarus packages. ct2laz is a tool to convert in the other direction, from CT back to Laz.

avra

  • Hero Member
  • *****
  • Posts: 2532
    • Additional info
« Last Edit: January 11, 2021, 04:26:51 pm by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

avra

  • Hero Member
  • *****
  • Posts: 2532
    • Additional info
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #47 on: January 11, 2021, 04:24:28 pm »
ct2laz is a tool to convert in the other direction, from CT back to Laz.
Although name suggests that ct2laz does only one way conversion, it can actually convert both ways since CSV file holds conversion pairs, and string replacement doesn't care much about direction. You either choose [CT => LAZ] or [LAZ => CT] button. However, for a long time [CT => LAZ] is the only one I really care and spend time testing.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

kofccp

  • Newbie
  • Posts: 3
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #48 on: January 20, 2021, 06:52:42 am »
Thanks Avra for helping me find the solution:LazarusResources=>TyphonResources

daragor

  • Jr. Member
  • **
  • Posts: 66
    • Blog Webscom
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #49 on: July 28, 2021, 01:49:19 am »
hi avra, this app not work today.. i try install packages exported in lazaurs (ct 2 laz) and result an error.. please u have any solution¿?

sorry my english is poor...  %)
Inculcando el software libre.
https://www.webscom.com.ar

avra

  • Hero Member
  • *****
  • Posts: 2532
    • Additional info
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #50 on: July 28, 2021, 02:13:54 am »
hi avra, this app not work today.. i try install packages exported in lazaurs (ct 2 laz) and result an error.
You have to be more specific. What packages? Yours or CT's? What CT version? What Lazarus version? Bitness?

ct2laz can not always make 100% conversion. That is the reason why I have created ct4laz (https://bitbucket.org/avra/ct4laz/src/master/) which you can find in OPM (pl_* packages). I have described there the conversion process, and if you take a look at powershell script, *.list files, \files dir and \old.working.dir, you will see that many files needed a manual patch, or an older file version. This is understandable if you know that CT goal is trunk of both FPC and LAZ, while my goal is official version of FPC and LAZ. I do update ct4laz in OPM from time to time, but it is not that often. Who needs latest version and can't wait for my update, can follow the procedure I described and try to patch on his own for successful compilation.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

jaz2014

  • New Member
  • *
  • Posts: 14
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #51 on: February 14, 2022, 10:28:43 pm »
Just a big thank you Avra for ct2laz
I downloaded pl_cindy from your repo and was able to convert
to the latest lazarus with no problems.

Very useful program - thanks

jaz

avra

  • Hero Member
  • *****
  • Posts: 2532
    • Additional info
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #52 on: February 15, 2022, 02:03:06 am »
Just a big thank you Avra for ct2laz
You're most welcome.  :D

I downloaded pl_cindy from your repo and was able to convert
to the latest lazarus with no problems.
Do you know that there is pl_cindy already converted with ct2laz/ct4laz and ready to be installed directly from OPM (Online Package Manager) so you do not even need a manual repo download? You have to use my tools directly only if you want to convert project from/to CT, or if you need a specific CT package which I do not keep in the repo.

Have fun!  ;)
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Sharfik

  • Newbie
  • Posts: 4
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #53 on: November 15, 2024, 01:45:27 am »
Hello. Registration doesn't work on the PilotLogic forum, I'll ask here. After converting from Laz to CT, a problem with the CT interface appeared. Project forms hang separately from the editor window and are not embedded as a separate tab as in clean projects created under CT.

avra

  • Hero Member
  • *****
  • Posts: 2532
    • Additional info
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #54 on: November 18, 2024, 03:27:15 am »
Hello. Registration doesn't work on the PilotLogic forum, I'll ask here. After converting from Laz to CT, a problem with the CT interface appeared. Project forms hang separately from the editor window and are not embedded as a separate tab as in clean projects created under CT.
If I remember well, CT could directly load Laz project and automatically convert it to CT project, so no need for ct2laz. Have you tried that?
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Handoko

  • Hero Member
  • *****
  • Posts: 5384
  • My goal: build my own game engine using Lazarus
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #55 on: November 18, 2024, 04:20:56 am »
First of all, sorry off topic.

@Sharfik

Is it any reason why you want to use Code Typhon instead of Lazarus? Could you share your experience what are the CT's features that Lazarus lack of? Valid criticism is always a good thing.

I ever downloaded and tried CT briefly. The notable features I saw were:
1. Easier cross compilation
2. Modern looking layout (non-floating mode)
3. All packages were installed by default

Although the information for preparing cross compilation in Lazarus can be found easily in Wiki, I admit CT had done it better by making it easier.

When installing Lazarus starting from version 4.0RC1, it now has options for enabling single window mode and modern form editor. Some users including me prefer the classic one but I believe many new users will like this new feature.

Including and enabling all packages on the default installation, is a double-edged sword. It makes the IDE bloated, requires more RAM and takes more time for rebuilding. Sure some users will appreciate it, but Lazarus has Online Package Manager, installing new third party packages is relatively easy.

I haven't really use Code Typhon. I am curious to know what features they offer.
« Last Edit: November 18, 2024, 06:38:32 am by Handoko »

Sharfik

  • Newbie
  • Posts: 4
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #56 on: November 18, 2024, 10:53:59 pm »
Lazarus is perfect. But for one project, to diversify the interface, I transferred the project to CT. It is not always easy to find a lazarus version of a component. There is no clear description of what they do in the component packages. And it turns out that CT demonstrates the components more clearly.

avra

  • Hero Member
  • *****
  • Posts: 2532
    • Additional info
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #57 on: November 22, 2024, 12:46:46 pm »
It is not always easy to find a lazarus version of a component.
This might help a little: https://bitbucket.org/avra/ct4laz/src/master/pl_packages_list.xls
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Sharfik

  • Newbie
  • Posts: 4
Re: ct2laz - convertor between CodeTyphon and Lazarus
« Reply #58 on: December 03, 2024, 01:26:03 am »
Hello. Registration doesn't work on the PilotLogic forum, I'll ask here. After converting from Laz to CT, a problem with the CT interface appeared. Project forms hang separately from the editor window and are not embedded as a separate tab as in clean projects created under CT.
answer on my question: need remove ds_GlassDocking_IDE

 

TinyPortal © 2005-2018