Freepascal inclusive LCL for MorphOS
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 353 from 2014/6/11
    From: Germany
    I prefer a desktop/local editor application.
    But nonetheless this is pretty nice.

    Manfred
  • »17.06.17 - 14:20
    Profile
  • Butterfly
    Butterfly
    Posts: 95 from 2015/3/31
    Quote:

    asrael22 wrote:
    I prefer a desktop/local editor application.
    But nonetheless this is pretty nice.


    I agree. It's even not really usable for serious projects (only one source file ;-) ) more as a teaser, people even do not want to install something on the computer. And it's the easiest way to compile a program for really all Amiga systems ;-)
    On native Amiga even I will use it... it's just so much faster than the native compiler even with slow Internet connection
  • »17.06.17 - 17:45
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Zylesea
    Posts: 1846 from 2003/6/4
    This is rather cool.
    --
    http://www.via-altera.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
  • »19.06.17 - 00:30
    Profile Visit Website
  • Caterpillar
    Caterpillar
    dethknave
    Posts: 31 from 2015/11/28
    Quote:

    amigadave wrote:
    I had spent lots of time thinking about learning C/C++ first, because of the huge amount of use, in Amiga legacy/history (as well as the huge amount of C/C++ use on all other platforms) and the great amount of examples and written tutorials and teaching books available, both specifically for the Amiga, and generally for all platforms. I have SAS/C manuals in great condition, as well as a purchased "new package" of Storm/C (version 4 I think) & Mesa, used copies of Aztec/C, & Manx/C (was Aztec & Manx the same thing? Can't remember),"back-in-the-day".



    I purchased D.I.C.E back in the day, 4 floppies and pdf if I remember correctly.
    Very shortly after I bought it, Matt Dillon went to work at Dragonfly BSD , so
    I never started learning C. I stopped with three different Basics and
    motorola 6502/6510 op-code .
    Bought Jim Butterfield's m68k book, but I've lost it since XD.
    So lately I've just been messing with the Shenzhen I/O game
    when I feel any urge to program something,
    Windows 10? Think again!
    http://youtu.be/u1kGMCfb2xw
  • »19.06.17 - 04:40
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    polluks
    Posts: 374 from 2007/10/23
    From: Gelsenkirchen,...
    FYI AF Special
    Pegasos II G4: MorphOS 3.9, Zalman M220W
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.10
  • »14.08.17 - 00:32
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Zylesea
    Posts: 1846 from 2003/6/4
    Quote:

    ALB42 schrieb:
    Working on a FreePascal MUI GUI Editor. Using the MUIClass I implemented to use MUI classes like FreePascal objects.
    https://blog.alb42.de/2018/02/16/mui-gui-editor/

    [ Edited by ALB42 16.02.2018 - 22:26 ]


    You are doing realy a pretty impressive job with your work on Freepascal. I am considering to try out/learn Freepascal ( though I am too lazy, not very talented and have enough to do with Hollywood and a little C++ aleady).
    --
    http://www.via-altera.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
  • »16.02.18 - 23:57
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    tolkien
    Posts: 265 from 2013/5/29
    Great!!! Let´s try it tomorrow. Thanks!!
    PowerMac G5 - PowerBook G4 - MacMini with MorphOS. Amiga 1200/060 AmigaOS 3.x
  • »26.02.18 - 23:29
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 353 from 2014/6/11
    From: Germany
    I'd love to have syntax highlighting for Cubic IDE.
    I've added some custom explorer and other stuff that shows .pas files in the right sidebar.
    Also a simple ARexx script for compilation that is triggered from a toolbar button.


    [ Edited by asrael22 28.02.2018 - 17:10 ]
  • »28.02.18 - 15:48
    Profile
  • Butterfly
    Butterfly
    Posts: 95 from 2015/3/31
    @asrael:

    yes? and whats the problem? Do you need help?
  • »28.02.18 - 21:04
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 95 from 2015/3/31
    The source for MoGit is now on Github https://github.com/alb42/MoGit

    I used already MoGit to add the files ;-). Also the MorphOS git client works nicely. My first real world use of it.
  • »28.02.18 - 22:03
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 353 from 2014/6/11
    From: Germany
    Quote:

    ALB42 wrote:
    @asrael:

    yes? and whats the problem? Do you need help?


    I think so, yes.
    Basically my question is, is there a precompiled Pascal parser required, or can it be done using the generic parser with filling in some syntax dictionary keywords?
    It should work under m68k, too.
  • »01.03.18 - 07:58
    Profile
  • Butterfly
    Butterfly
    Posts: 95 from 2015/3/31
    Quote:

    asrael22 wrote:
    Basically my question is, is there a precompiled Pascal parser required, or can it be done using the generic parser with filling in some syntax dictionary keywords?
    It should work under m68k, too.



    This should be possible, Pascal has a more clear syntax than C for example. But if it is possible to do via your generic parser, depends on your parser ;-)
    I use in EdiSyn such a generic Parser which supports many formats which can be introduced via a text file
    https://github.com/alb42/fpc-tests/blob/master/lcl/SynUniHighlighter/Highlighters/

    for example: for Delphi/Object Pascal:
    https://github.com/alb42/fpc-tests/blob/master/lcl/SynUniHighlighter/Highlighters/Delphi.hgl

    This should already help, you can find the most keywords in there. In principle it would be enough to highlight the keywords (take care: Pascal is not case sensitive!)
    <KW Name="Pascal Terms"> Keywords see the list there
    <KW Name="Standard types"> available basic types see the list there

    Comments:
    <Range Name="Remarks {...}"> allows nesting
    <Range Name="Remarks //"> line comment like c
    <Range Name="Remarks (*...*)"> no Nesting!

    Strings:
    <Range Name="Strings"> -> 'string'

    Compiler directives:
    <Range Name="Directives"> {$...}

    and Numbers 0..9 e.g. 13232
    HexNumbers $0..F e.g. $DEADBEEF
    Chars #0..#255 e.g. #13#10 (CRLF on windows) #10 (LF on Unix/Amiga ;-))
  • »01.03.18 - 09:20
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 353 from 2014/6/11
    From: Germany
    I meant the standard parser that comes with Cubic IDE.
    Hope there is some documentation, but I've seen it's used for basic as well. You can fill some dictionary files and it'll do it's work. Not sure about case-insensitivity. Have to check.
  • »01.03.18 - 10:28
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 353 from 2014/6/11
    From: Germany
    Quote:

    asrael22 wrote:
    I meant the standard parser that comes with Cubic IDE.
    Hope there is some documentation, but I've seen it's used for basic as well. You can fill some dictionary files and it'll do it's work. Not sure about case-insensitivity. Have to check.


    I've seen the "generic.parser" is also used for ARexx syntax highlighting in Cubic IDE.
    So I guess it should work.
  • »01.03.18 - 10:47
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 353 from 2014/6/11
    From: Germany
    Quote:

    asrael22 wrote:
    Quote:

    asrael22 wrote:
    I meant the standard parser that comes with Cubic IDE.
    Hope there is some documentation, but I've seen it's used for basic as well. You can fill some dictionary files and it'll do it's work. Not sure about case-insensitivity. Have to check.


    I've seen the "generic.parser" is also used for ARexx syntax highlighting in Cubic IDE.
    So I guess it should work.


    Awesome, it works.
    So I'll start with Pascal keywords, there shouldn't be too many.
  • »01.03.18 - 10:57
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 353 from 2014/6/11
    From: Germany
    My point is to structure the code also visually.
    Constants from Vars, from functions, etc.
    I know, no one was used to this stuff years ago.
    But I am used to this stuff.
    I can't work anymore on code that only has one color.
    Well, it's not that I can't work on that code, but I'm not used to it. And that gives me a hard time.
  • »01.03.18 - 16:38
    Profile
  • Butterfly
    Butterfly
    Posts: 95 from 2015/3/31
    @asrael22:

    same for me ;) I'm very spoiled by the Delphi and Lazarus development environment.


    Sorry, seems I missunderstand your question, but I have not knowledge about CubicIDE, I never tried that. But I'm ready to help as far it's possible. ;)
  • »01.03.18 - 21:26
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 95 from 2015/3/31
    looks already very nice :-D

    but these colors ...argh.. I'm blind ;-) I hope one can change them to less exciting colors
  • »02.03.18 - 21:20
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    amigadave
    Posts: 2502 from 2006/3/21
    From: Lake Shastina,...
    Quote:

    asrael22 wrote:
    Getting there:
    Cubic_Pascal_Highlighting.png



    I'm going to be busy working with Hollywood, probably all of this year, so I don't think I will attempt to add Pascal to my programming languages studies, but I did purchase CubicIDE a few years ago, so if/when I do decide I want to learn Pascal, I would like to use your pascal highlighter, if you would allow it to be downloaded by other programmers.
    MorphOS - The best Next Gen Amiga choice.
  • »03.03.18 - 01:35
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 353 from 2014/6/11
    From: Germany
    Quote:

    ALB42 wrote:
    looks already very nice :-D

    but these colors ...argh.. I'm blind ;-) I hope one can change them to less exciting colors


    Yeah, they can certainly be configured using the standard CubicIDE thing for text colors.
    I like it flashy, but this is a bit too much. :)

    I have now copied all the OS3 and MOS API functions to the dictionary so that they can be configured for different colors, too.
  • »03.03.18 - 06:40
    Profile