[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/arduino-mode 1424952 039/107: add new keywords
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/arduino-mode 1424952 039/107: add new keywords |
Date: |
Sun, 29 Aug 2021 10:58:13 -0400 (EDT) |
branch: elpa/arduino-mode
commit 1424952716c8b18534ddf00065d307d5eb069352
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
add new keywords
---
arduino-mode.el | 60 ++++++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 45 insertions(+), 15 deletions(-)
diff --git a/arduino-mode.el b/arduino-mode.el
index b5964f9..70017e2 100644
--- a/arduino-mode.el
+++ b/arduino-mode.el
@@ -43,7 +43,23 @@
(c-add-language 'arduino-mode 'c-mode))
(c-lang-defconst c-primitive-type-kwds
- arduino (append '("boolean" "byte")
+ arduino (append '(;; Data Types
+ "boolean" "byte"
+ "int" "long" "short" "double" "float"
+ "char" "string"
+ "unsigned char" "unsigned int" "unsigned long"
+ "void" "word"
+ ;; Variable Scope & Qualifiers
+ "const" "scope" "static" "volatile"
+ ;; Structure
+ ;; Sketch
+ "loop" "setup"
+ ;; Control Structure
+ "break" "continue" "do" "while" "else" "for" "goto" "if"
+ "return" "switch" "case"
+ ;; Utilities
+ "PROGMEM"
+ )
(c-lang-const c-primitive-type-kwds)))
(c-lang-defconst c-constant-kwds
@@ -57,20 +73,34 @@
(c-lang-defconst c-simple-stmt-kwds
arduino
(append
- '("pinMode" "digitalWrite" "digitalRead" ; Digital I/O
- "analogReference" "analogRead" "analogWrite" ; Analog I/O
- "tone" "noTone" "shiftIn" "shiftOut" "pulseIn" ; Advanced I/O
- "millis" "micros" "delay" "delayMicroseconds" ; Time
- "min" "max" "abs" "constrain" "map" "pow" "sq" "sqrt" ; Math
- "sin" "cos" "tan" ; Trigonometry
- "randomSeed" "random" ; Random
Numbers
- "lowByte" "highByte" "bitRead" "bitWrite" "bitSet" ; Bits and
Bytes
- "bitClear" "bit"
- "attachInterrupt" "detachInterrupt" ; External
Interrupts
- "interrupts" "noInterrupts" ; Interrupts
- "begin" "end" "available" "read" "flush" "print" "println" ; Serial
Communication
- "write" "peek"
- "analogReadResolution" "analogWriteResolution" ; Due only
+ '(;; Operator Utilities
+ "sizeof"
+ ;; Functions
+ "pinMode" "digitalWrite" "digitalRead" ; Digital I/O
+ "analogReference" "analogRead" "analogWrite" ; Analog I/O
+ "analogReadResolution" "analogWriteResolution" ; Zero, Due & MKR Family
+ "tone" "noTone" "shiftIn" "shiftOut" "pulseIn" "pulseInLong" ; Advanced
I/O
+ "millis" "micros" "delay" "delayMicroseconds" ; Time
+ "min" "max" "abs" "constrain" "map" "pow" "sq" "sqrt" ; Math
+ "sin" "cos" "tan" ;
Trigonometry
+ "randomSeed" "random" ; Random Numbers
+ "bit" "bitRead" "bitWrite" "bitSet" "bitClear" "lowByte" "highByte" ;
Bits and Bytes
+ "attachInterrupt" "detachInterrupt" ; External Interrupts
+ "interrupts" "noInterrupts" ; Interrupts
+ "serial" "stream" ; Serial Communication
+ ;; Characters
+ "isAlpha" "isAlphaNumeric"
+ "isAscii" "isControl" "isDigit" "isGraph" "isHexadecimalDigit"
+ "isLowerCase" "isUpperCase"
+ "isPrintable" "isPunct" "isSpace" "isWhitespace"
+ ;; USB Devices like Keyboard functions
+ "print" "println"
+ ;; Serial
+ "begin" "end" "available" "read" "flush" "peek"
+ ;; Keyboard
+ "write" "press" "release" "releaseAll"
+ ;; Mouse
+ "click" "move" "isPressed"
)
(c-lang-const c-simple-stmt-kwds)))
- [nongnu] elpa/arduino-mode 68c1661 019/107: Add Version header., (continued)
- [nongnu] elpa/arduino-mode 68c1661 019/107: Add Version header., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 1fc4b2a 020/107: Add missing autoload cookie, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode effb0bc 024/107: Sync with the language reference as of 20150503, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 44c2728 025/107: Add to languages customisation group., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode bb89ac8 030/107: Merge pull request #11 from bookest/bug/undefined-cl-macroexpand-all, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 241b179 032/107: Merge https://github.com/mavit/arduino-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode aed4acb 034/107: Add additional customization, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a468e63 035/107: Add basic support for file variables, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode d1233b1 036/107: Use configured preferences file for ede signature, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 9a168aa 038/107: fix void function `ede-project-autoload`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 1424952 039/107: add new keywords,
ELPA Syncer <=
- [nongnu] elpa/arduino-mode 411815d 041/107: change arduino-upload keybinding to [C-c C-c], ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 20e284a 042/107: format code, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 59806cc 043/107: add .ino file extension to auto-mode-alist, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a95ebba 044/107: remove XEmacs support part, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 3d8aa47 045/107: improve and add some commands for command-line arduino., ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 3fc0851 046/107: use define-derived-mode for arduino-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 0150970 050/107: support org-mode babel Arduino src block, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 139b154 051/107: add support for --board option with header argument :boarder, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 3f0b3a4 057/107: rename command arduino-build -> arduino-verify, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 7b94f5b 058/107: creating process with make-process to use process sentinel to get notification., ELPA Syncer, 2021/08/29