commit
ad7a081d97
9 changed files with 89 additions and 0 deletions
@ -0,0 +1,3 @@ |
||||
## 0.1.0 - First Release |
||||
* Every feature added |
||||
* Every bug fixed |
@ -0,0 +1,20 @@ |
||||
Copyright (c) 2021 Raymonzut |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining |
||||
a copy of this software and associated documentation files (the |
||||
"Software"), to deal in the Software without restriction, including |
||||
without limitation the rights to use, copy, modify, merge, publish, |
||||
distribute, sublicense, and/or sell copies of the Software, and to |
||||
permit persons to whom the Software is furnished to do so, subject to |
||||
the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be |
||||
included in all copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@ -0,0 +1,3 @@ |
||||
# MBLF language package |
||||
|
||||
The atom language package for mblf, by the makers of mblf |
@ -0,0 +1,14 @@ |
||||
# If this is your first time writing a language grammar, check out: |
||||
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/ |
||||
|
||||
'scopeName': 'source.mblf' |
||||
'name': 'Mblf' |
||||
'fileTypes': [ |
||||
'extension' |
||||
] |
||||
'patterns': [ |
||||
{ |
||||
'match': '^\\s*@@.*$' |
||||
'name': 'comment' |
||||
} |
||||
] |
@ -0,0 +1,5 @@ |
||||
{ |
||||
"name": "language-mblf", |
||||
"version": "0.0.0", |
||||
"lockfileVersion": 1 |
||||
} |
@ -0,0 +1,15 @@ |
||||
{ |
||||
"name": "language-mblf", |
||||
"version": "0.0.0", |
||||
"description": "The atom language package for mblf, by the makers of mblf", |
||||
"keywords": [ |
||||
"mblf", |
||||
"language", |
||||
"grammar" |
||||
], |
||||
"repository": "https://github.com/Brainfuck-Project/language-mblf", |
||||
"license": "MIT", |
||||
"engines": { |
||||
"atom": ">=1.0.0 <2.0.0" |
||||
} |
||||
} |
@ -0,0 +1,6 @@ |
||||
# If you want some examples of settings, check out: |
||||
# https://github.com/atom/language-gfm/blob/master/settings/gfm.cson |
||||
|
||||
'.source.mblf': |
||||
'editor': |
||||
'commentStart': '@@ ' |
@ -0,0 +1,7 @@ |
||||
# If you want some example snippets, check out: |
||||
# https://github.com/atom/language-javascript/blob/master/snippets/javascript.cson |
||||
|
||||
'.source.mblf': |
||||
'Method documentation': |
||||
'prefix': 'doc' |
||||
'body': '@@ ${1:method} - ${2:description}' |
@ -0,0 +1,16 @@ |
||||
# If you want an example of language specs, check out: |
||||
# https://github.com/atom/language-javascript/blob/master/spec/javascript-spec.coffee |
||||
|
||||
describe "Mblf grammar", -> |
||||
grammar = null |
||||
|
||||
beforeEach -> |
||||
waitsForPromise -> |
||||
atom.packages.activatePackage("language-mblf") |
||||
|
||||
runs -> |
||||
grammar = atom.syntax.grammarForScopeName("source.mblf") |
||||
|
||||
it "parses the grammar", -> |
||||
expect(grammar).toBeTruthy() |
||||
expect(grammar.scopeName).toBe "source.mblf" |
Loading…
Reference in new issue