Freepascal inclusive LCL for MorphOS
  • Order of the Butterfly
    Order of the Butterfly
    OlafSch
    Posts: 186 from 2011/11/16
    Quote:

    ALB42 schrieb:
    @amigadave:

    I'm not sure what is the intention of your post (beside the advertisement for Hollywood ;-)). If you planed to start a language war, I have to disappoint you. I stay out of such discussion by purpose (same as which is the "better" Amiga-style system). All have pros and cons, I prefer Pascal, other prefer C, basic, brainfuck or whitespace, who cares, if it gets the work done and inspire people to do something with it, fine by me.

    P.S. I doubt Hollywood can use any FreePascal objects/code (except starting a compiled executable), because of the needed FreePascal startup code.


    you can execute amiga programs but not embedd code from different languages of course. I am also not aware of any native library support (in opposite to free pascal). It would make not much sense in a cross-platform environment of course
  • »05.05.17 - 09:01
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 138 from 2015/3/31
    writing and compiling of Pascal programs for Amiga systems in a Browser (with Javascript editor, Odyssey is powerful enough to show that) Compilation is even faster than directly on MorphOS
    YouTube Link
  • »16.06.17 - 16:58
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 from 2014/6/11
    From: Germany
    I prefer a desktop/local editor application.
    But nonetheless this is pretty nice.

    Manfred
  • »17.06.17 - 13:20
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 138 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 - 16:45
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2057 from 2003/6/4
    This is rather cool.
    --
    http://via.bckrs.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.
    ...and Matthias , my friend - RIP
  • »18.06.17 - 23:30
    Profile Visit Website
  • Caterpillar
    Caterpillar
    dethknave
    Posts: 31 from 2015/11/28
    From: usa
    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,
    M$ buys GitHub?
    'Bout time to panic
  • »19.06.17 - 03:40
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    FYI AF Special
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »13.08.17 - 23:32
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2057 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://via.bckrs.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.
    ...and Matthias , my friend - RIP
  • »16.02.18 - 22:57
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 523 from 2013/5/29
    Great!!! Let´s try it tomorrow. Thanks!!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »26.02.18 - 22:29
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 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 - 14:48
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 138 from 2015/3/31
    @asrael:

    yes? and whats the problem? Do you need help?
  • »28.02.18 - 20:04
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 138 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 - 21:03
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 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 - 06:58
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 138 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 - 08:20
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 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 - 09:28
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 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 - 09:47
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 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 - 09:57
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    asrael22
    Posts: 404 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 - 15:38
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 138 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 - 20:26
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Posts: 138 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 - 20:20
    Profile Visit Website