Add language support and massively update Forth compiler

This commit is contained in:
Dominic Grimm 2023-04-01 19:20:32 +02:00
parent 635ae21540
commit df73353bc6
No known key found for this signature in database
GPG key ID: 12EFFCAEA9E620BF
31 changed files with 2217 additions and 331 deletions

View file

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0" >
<!-- Generated via Iro -->
<dict>
<key>fileTypes</key>
<array>
<string>asm</string>
</array>
<key>name</key>
<string>hence</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#main</string>
</dict>
</array>
<key>scopeName</key>
<string>source.hence</string>
<key>uuid</key>
<string></string>
<key>repository</key>
<dict>
<key>main</key>
<dict>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>(&quot;.*&quot;)</string>
<key>name</key>
<string>text.hence</string>
</dict>
<dict>
<key>match</key>
<string>(\S*:)</string>
<key>name</key>
<string>keyword.hence</string>
</dict>
<dict>
<key>match</key>
<string>(\.\b\S*)</string>
<key>name</key>
<string>keyword.hence</string>
</dict>
<dict>
<key>match</key>
<string>(\b\S*)</string>
<key>name</key>
<string>keyword.hence</string>
</dict>
<dict>
<key>match</key>
<string>(;.*)</string>
<key>name</key>
<string>comment.hence</string>
</dict>
<dict>
<key>match</key>
<string>([^\s])</string>
<key>name</key>
<string>invalid.hence</string>
</dict>
</array>
</dict>
</dict>
</dict>
</plist>