Recent

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

wp

  • Hero Member
  • *****
  • Posts: 11830
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: 2514
    • 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: 2514
    • 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: 2514
    • 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: 2514
    • 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

 

TinyPortal © 2005-2018