D21711: Julia: update syntax and add constants keywords

Nibaldo González noreply at phabricator.kde.org
Mon Jun 10 08:51:42 BST 2019


nibags created this revision.
nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
nibags requested review of this revision.

REVISION SUMMARY
  BUG: 403901
  
  Update Julia's syntax with some missing features, such as multi-line comments and strings, based on Julia's documentation. It also adds keywords of constants and types.
  
  **Changes in julia.xml:**
  
  - Add missing keywords. Add keywords of constants and modules.
  - Numbers:
    - Allow underscores in numbers.
    - Add hexadecimal floating-point.
    - Add octales and binaries.
  - Add multi-line comments.
  - Add multi-line strings, raw strings, docs strings, byte arrays and Regex strings.
  - Add command strings (with backstricks).
  - Replace rules StringDetect with Detect2Chars in the detection of operators.
  
  **Source:**
  
  - Julia 1.1 Documentation: https://docs.julialang.org/en/v1.1/

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  update-julia

REVISION DETAIL
  https://phabricator.kde.org/D21711

AFFECTED FILES
  autotests/folding/test.jl.fold
  autotests/html/test.jl.html
  autotests/input/test.jl
  autotests/reference/test.jl.ref
  data/syntax/julia.xml

To: nibags, #framework_syntax_highlighting, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190610/c6017523/attachment-0001.html>


More information about the KWrite-Devel mailing list