Tapatalk

Tandem TAL

Tandem TAL

3
NewbieNewbie
3

    Oct 01, 2004#1

    Does anyone have a syntax highlighting config for Tandem TAL?

    63
    Advanced UserAdvanced User
    63

      Oct 06, 2004#2

      Hi Ken

      I found a TAL syntax definition file over on TextPad website. The format is different for TextPad but all the key words are there for you to copy in to UltraEdit's wordfile.txt format.

      http://www.textpad.com/add-ons/synn2t.html

      This is the quickest way I know to define a TAL syntax file. If you have any questions please leave a message here and someone will get back with you.

      The help file is very good at explaining "Wordfile.txt". Check out other languages VB, C++, html & java in the wordfile.txt I think you will pickup on UE format very quickly.
      Plus you have the added benefit of seeing how TextPad did there syntax.   

      Hope this helps.

      3
      NewbieNewbie
      3

        Nov 03, 2004#3

        Thanks, MrBill

        I put together a 90 percent solution from what you provided. Probably no one will ever need it, but here it is, for posterity.

        /L10"TAL" Nocase Line Comment = -- Line Comment Alt = ! File Extensions = TAL
        /Delimiters = ^;
        /Function String = "%[a-zA-Z_0-9*]* PROC ^(*^);"
        /Function String 1 = "%[a-zA-Z_0-9*]* SUBPROC ^(*^);"
        /Function String = "PROC ^(*^);"
        /Function String 1 = "SUBPROC ^(*^);"
        /C1"Preprocessor"
        ?ALL ?crossref ?DATAPAGES ?ENV ?errorfile ?HIGHPIN ?INSPECT ?LIST ?nocode ?nocrossref ?nogmap ?NOLIST
        ?nolmap ?nomap ?noprintsym ?page ?RUNNAMED ?SAVE ?SEARCH ?SOURCE ?SYMBOLS
        ALL
        COMMON crossref
        ENV errorfile
        HIGHPIN
        INSPECT
        list
        nocode nocrossref nogmap nolist nolmap nomap noprintsym
        RUNNAMED
        SAVE SEARCH SYMBOLS
        /C2"Keywords"
        and
        begin block
        call case const
        do downto drop
        else end except
        for function
        goto
        if in initialization
        label
        main mod
        name not
        of or out
        proc program property
        raise record return
        subproc
        then to type
        until use
        var
        while with
        xor
        /C3"Keywords 2"
        byte BYTES
        define
        fixed FORWARD
        int int(32)
        literal
        string struct
        word WORDS
        /C4"Keywords 3"
        $ABS $CARRY $DBL $INT $LADR $LEN $MAX $MIN $OCCURS $OFFSET $PARAM $XADR
        /C5"Operators"
        !
        %
        &
        ':='
        *
        +
        - ->
        // /
        :=
        <
        =
        >
        |
        ~
        /C6"MoreKeywords"
        EXE EXT
        SQL SQLERROR SQLWARNING
        WHENEVER

        1
        NewbieNewbie
        1

          Nov 24, 2004#4

          Thanks for the TAL post. I will be using it.

          8
          NewbieNewbie
          8

            Sep 28, 2005#5

            Thank you Thank you Thank you.
            It's good to know there are still TAL users out there.