"Fossies" - the Fresh Open Source Software Archive

Member "wscite/raku.properties" (11 Sep 2020, 10232 Bytes) of package /windows/misc/wscite445.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Define SciTE settings for Raku (Perl 6) files.
    2 # By Mark Reay <mark@reay.net.au>, 2019
    3 
    4 file.patterns.raku=*.p6;*.pm6;*.pod6;*.t6;*.raku;*.rakumod;*.rakudoc;*.rakutest
    5 
    6 *source.patterns.raku=$(file.patterns.raku);
    7 
    8 *filter.raku=Raku (p6 pm6)|$(file.patterns.raku)|
    9 
   10 *language.raku=Raku|p6||
   11 
   12 lexer.$(file.patterns.raku)=raku
   13 
   14 # Keywords (base)
   15 keywords.$(file.patterns.raku)=BEGIN CATCH CHECK CONTROL END ENTER EVAL FIRST \
   16  INIT KEEP LAST LEAVE NEXT POST PRE START TEMP UNDO after also andthen as \
   17  async augment bag before but category circumfix class cmp complex constant \
   18  contend default defer div does dynamic else elsif enum eq eqv extra fail \
   19  fatal ff fff for gather gcd ge given grammar gt handles has if infix is lcm \
   20  le leave leg let lift loop lt macro make maybe method mix mod module multi \
   21  ne not o only oo or orelse orwith postcircumfix postfix prefix proto regex \
   22  repeat require return-rw returns role rule size_t slang start str submethod \
   23  subset supersede take temp term token trusts try unit unless until when \
   24  where while with without x xor xx
   25 # Keywords (functions)
   26 keywords2.$(file.patterns.raku)=ACCEPTS AT-KEY EVALFILE EXISTS-KEY Filetests \
   27  IO STORE abs accept acos acosec acosech acosh acotan acotanh alarm and \
   28  antipairs asec asech asin asinh atan atan2 atanh base bind binmode bless \
   29  break caller ceiling chars chdir chmod chomp chop chr chroot chrs cis close \
   30  closedir codes comb conj connect contains continue cos cosec cosech cosh \
   31  cotan cotanh crypt dbm defined die do dump each elems eof exec exists exit \
   32  exp expmod fc fcntl fileno flat flip flock floor fmt fork formats functions \
   33  get getc getpeername getpgrp getppid getpriority getsock gist glob gmtime \
   34  goto grep hyper import index int invert ioctl is-prime iterator join keyof \
   35  keys kill kv last lazy lc lcfirst lines link list listen local localtime \
   36  lock log log10 lsb lstat map match mkdir msb msg my narrow new next no of \
   37  open ord ords our pack package pairs path pick pipe polymod pop pos pred \
   38  print printf prototype push quoting race rand read readdir readline readlink \
   39  readpipe recv redo ref rename requires reset return reverse rewinddir rindex \
   40  rmdir roots round samecase say scalar sec sech seek seekdir select semctl \
   41  semget semop send set setpgrp setpriority setsockopt shift shm shutdown sign \
   42  sin sinh sleep sockets sort splice split sprintf sqrt srand stat state study \
   43  sub subst substr substr-rw succ symlink sys syscall system syswrite tan tanh \
   44  tc tclc tell telldir tie time times trans trim trim-leading trim-trailing \
   45  truncate uc ucfirst unimatch uniname uninames uniprop uniprops unival unlink \
   46  unpack unpolar unshift untie use utime values wait waitpid wantarray warn \
   47  wordcase words write
   48 # Keywords (types)
   49 keywords3.$(file.patterns.raku)=AST Any Block Bool CallFrame Callable Code \
   50  Collation Compiler Complex ComplexStr Cool CurrentThreadScheduler Date \
   51  DateTime Dateish Distribution Distribution::Hash Distribution::Locally \
   52  Distribution::Path Duration Encoding Encoding::Registry Endian FatRat \
   53  ForeignCode HyperSeq HyperWhatever Instant Int IntStr Junction Label \
   54  Lock::Async Macro Method Mu Nil Num NumStr Numeric ObjAt Parameter Perl \
   55  PredictiveIterator Proxy RaceSeq Rat RatStr Rational Real Routine \
   56  Routine::WrapHandle Scalar Sequence Signature Str StrDistance Stringy Sub \
   57  Submethod Telemetry Telemetry::Instrument::Thread \
   58  Telemetry::Instrument::ThreadPool Telemetry::Instrument::Usage \
   59  Telemetry::Period Telemetry::Sampler UInt ValueObjAt Variable Version \
   60  Whatever WhateverCode atomicint bit bool buf buf1 buf16 buf2 buf32 buf4 \
   61  buf64 buf8 int int1 int16 int2 int32 int4 int64 int8 long longlong num \
   62  num32 num64 rat rat1 rat16 rat2 rat32 rat4 rat64 rat8 uint uint1 uint16 \
   63  uint2 uint32 uint4 uint64 uint8 utf16 utf32 utf8
   64 # Keywords (types composite)
   65 keywords4.$(file.patterns.raku)=Array Associative Bag BagHash Baggy Blob Buf \
   66  Capture Enumeration Hash Iterable Iterator List Map Mix MixHash Mixy NFC NFD \
   67  NFKC NFKD Pair Positional PositionalBindFailover PseudoStash QuantHash Range \
   68  Seq Set SetHash Setty Slip Stash Uni utf8
   69 # Keywords (types domain specific)
   70 keywords5.$(file.patterns.raku)=Attribute Cancellation Channel CompUnit \
   71  CompUnit::Repository CompUnit::Repository::FileSystem \
   72  CompUnit::Repository::Installation Distro Grammar IO IO::ArgFiles \
   73  IO::CatHandle IO::Handle IO::Notification IO::Path IO::Path::Cygwin \
   74  IO::Path::QNX IO::Path::Unix IO::Path::Win32 IO::Pipe IO::Socket \
   75  IO::Socket::Async IO::Socket::INET IO::Spec IO::Spec::Cygwin \
   76  IO::Spec::QNX IO::Spec::Unix IO::Spec::Win32 IO::Special Kernel Lock \
   77  Match Order Pod::Block Pod::Block::Code Pod::Block::Comment \
   78  Pod::Block::Declarator Pod::Block::Named Pod::Block::Para Pod::Block::Table \
   79  Pod::Defn Pod::FormattingCode Pod::Heading Pod::Item Proc Proc::Async \
   80  Promise Regex Scheduler Semaphore Supplier Supplier::Preserving Supply \
   81  Systemic Tap Thread ThreadPoolScheduler VM
   82 # Keywords (types domain exceptions)
   83 keywords6.$(file.patterns.raku)=Backtrace Backtrace::Frame CX::Done CX::Emit \
   84  CX::Last CX::Next CX::Proceed CX::Redo CX::Return CX::Succeed CX::Take \
   85  CX::Warn Exception Failure X::AdHoc X::Anon::Augment X::Anon::Multi \
   86  X::Assignment::RO X::Attribute::NoPackage X::Attribute::Package \
   87  X::Attribute::Required X::Attribute::Undeclared X::Augment::NoSuchType \
   88  X::Bind X::Bind::NativeType X::Bind::Slice X::Caller::NotDynamic \
   89  X::Channel::ReceiveOnClosed X::Channel::SendOnClosed X::Comp \
   90  X::Composition::NotComposable X::Constructor::Positional X::Control \
   91  X::ControlFlow X::ControlFlow::Return X::DateTime::TimezoneClash \
   92  X::Declaration::Scope X::Declaration::Scope::Multi X::Does::TypeObject \
   93  X::Dynamic::NotFound X::Eval::NoSuchLang X::Export::NameClash X::IO \
   94  X::IO::Chdir X::IO::Chmod X::IO::Copy X::IO::Cwd X::IO::Dir X::IO::DoesNotExist \
   95  X::IO::Link X::IO::Mkdir X::IO::Move X::IO::Rename X::IO::Rmdir \
   96  X::IO::Symlink X::IO::Unlink X::Inheritance::NotComposed \
   97  X::Inheritance::Unsupported X::Method::InvalidQualifier X::Method::NotFound \
   98  X::Method::Private::Permission X::Method::Private::Unqualified \
   99  X::Mixin::NotComposable X::NYI X::NoDispatcher X::Numeric::Real \
  100  X::OS X::Obsolete X::OutOfRange X::Package::Stubbed X::Parameter::Default \
  101  X::Parameter::MultipleTypeConstraints X::Parameter::Placeholder \
  102  X::Parameter::Twigil X::Parameter::WrongOrder X::Phaser::Multiple \
  103  X::Phaser::PrePost X::Placeholder::Block X::Placeholder::Mainline \
  104  X::Pod X::Proc::Async X::Proc::Async::AlreadyStarted X::Proc::Async::BindOrUse \
  105  X::Proc::Async::CharsOrBytes X::Proc::Async::MustBeStarted \
  106  X::Proc::Async::OpenForWriting X::Proc::Async::TapBeforeSpawn \
  107  X::Proc::Unsuccessful X::Promise::CauseOnlyValidOnBroken X::Promise::Vowed \
  108  X::Redeclaration X::Role::Initialization X::Scheduler::CueInNaNSeconds \
  109  X::Seq::Consumed X::Sequence::Deduction X::Signature::NameClash \
  110  X::Signature::Placeholder X::Str::Numeric X::StubCode X::Syntax \
  111  X::Syntax::Augment::WithoutMonkeyTyping X::Syntax::Comment::Embedded \
  112  X::Syntax::Confused X::Syntax::InfixInTermPosition X::Syntax::Malformed \
  113  X::Syntax::Missing X::Syntax::NegatedPair X::Syntax::NoSelf \
  114  X::Syntax::Number::RadixOutOfRange X::Syntax::P5 X::Syntax::Perl5Var \
  115  X::Syntax::Regex::Adverb X::Syntax::Regex::SolitaryQuantifier \
  116  X::Syntax::Reserved X::Syntax::Self::WithoutObject \
  117  X::Syntax::Signature::InvocantMarker X::Syntax::Term::MissingInitializer \
  118  X::Syntax::UnlessElse X::Syntax::Variable::Match X::Syntax::Variable::Numeric \
  119  X::Syntax::Variable::Twigil X::Temporal X::Temporal::InvalidFormat \
  120  X::TypeCheck X::TypeCheck::Assignment X::TypeCheck::Binding \
  121  X::TypeCheck::Return X::TypeCheck::Splice X::Undeclared
  122 # Keywords (adverbs)
  123 keywords7.$(file.patterns.raku)=D a array b backslash c closure delete double \
  124  exec exists f function h hash heredoc k kv p q qq quotewords s scalar single \
  125  sym to v val w words ww x
  126 
  127 word.characters.$(file.patterns.raku)=$(chars.alpha)$(chars.numeric)_$@%&
  128 
  129 comment.block.raku=#~
  130 
  131 colour.raku.heredoc=$(colour.embedded.comment)
  132 
  133 fold.raku.comment.multiline=1
  134 fold.raku.comment.pod=1
  135 
  136 # Raku styles
  137 style.raku.0=fore:#808080
  138 # SCE_RAKU_ERROR=1
  139 style.raku.1=$(colour.error)
  140 # SCE_RAKU_COMMENTLINE=2
  141 style.raku.2=$(colour.code.comment.line),$(font.code.comment.line)
  142 # SCE_RAKU_COMMENTEMBED=3
  143 style.raku.3=$(colour.code.comment.doc),$(font.code.comment.doc)
  144 # SCE_RAKU_POD=4
  145 style.raku.4=$(colour.code.comment.box),$(font.code.comment.box)
  146 # SCE_RAKU_CHARACTER=5
  147 style.raku.5=$(colour.char),$(font.monospace)
  148 # SCE_RAKU_HEREDOC_Q=6
  149 style.raku.6=fore:#7F007F,back:#DDD0DD,notbold
  150 # SCE_RAKU_HEREDOC_QQ=7
  151 style.raku.7=fore:#7F007F,back:#DDD0DD,bold
  152 # SCE_RAKU_STRING=8
  153 style.raku.8=$(colour.char),$(font.monospace)
  154 # SCE_RAKU_STRING_Q=9
  155 style.raku.9=$(style.raku.8)
  156 # SCE_RAKU_STRING_QQ=10
  157 style.raku.10=$(colour.string),$(font.monospace)
  158 # SCE_RAKU_STRING_Q_LANG=11
  159 style.raku.11=$(style.raku.10)
  160 # SCE_RAKU_STRING_VAR=12
  161 style.raku.12=fore:#D600B5,bold
  162 # SCE_RAKU_REGEX=13
  163 style.raku.13=fore:#000000,back:#A0FFA0
  164 # SCE_RAKU_REGEX_VAR=14
  165 style.raku.14=$(style.raku.12),back:#A0FFA0
  166 # SCE_RAKU_ADVERB=15
  167 style.raku.15=$(colour.preproc),bold
  168 # SCE_RAKU_NUMBER=16
  169 style.raku.16=$(colour.number)
  170 # SCE_RAKU_PREPROCESSOR=17
  171 style.raku.17=$(colour.notused),$(font.notused)
  172 # SCE_RAKU_OPERATOR=18
  173 style.raku.18=$(colour.operator),bold
  174 # SCE_RAKU_WORD=19
  175 style.raku.19=$(colour.keyword),bold
  176 # SCE_RAKU_FUNCTION=20
  177 style.raku.20=$(style.raku.19)
  178 # SCE_RAKU_IDENTIFIER=21
  179 style.raku.21=$(colour.operator)
  180 # SCE_RAKU_TYPEDEF=22
  181 style.raku.22=$(style.raku.19)
  182 # SCE_RAKU_MU=23
  183 style.raku.23=$(style.raku.0)
  184 # SCE_RAKU_POSITIONAL=24
  185 style.raku.24=fore:#6E05BE
  186 # SCE_RAKU_ASSOCIATIVE=25
  187 style.raku.25=fore:#F4D50A
  188 # SCE_RAKU_CALLABLE=26
  189 style.raku.26=$(style.raku.21)
  190 # SCE_RAKU_GRAMMAR=27
  191 style.raku.27=$(style.raku.15)
  192 # SCE_RAKU_CLASS=28
  193 style.raku.28=$(style.raku.15)
  194 
  195 # Braces are only matched in operator style
  196 braces.raku.style=18
  197 
  198 command.go.$(file.patterns.raku)=perl6 -w $(FileNameExt)
  199 command.compile.$(file.patterns.raku)=perl6 -c -w $(FileNameExt)
  200 command.name.0.$(file.patterns.raku)=Check Syntax
  201 command.0.$(file.patterns.raku)=perl6 -c $(FileNameExt)