Recent

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

wp

  • Hero Member
  • *****
  • Posts: 8881
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.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

avra

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

  • New Member
  • *
  • Posts: 46
    • 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: 2246
    • 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

 

TinyPortal © 2005-2018