Skip to content

Commit

Permalink
Add LFE support (#6)
Browse files Browse the repository at this point in the history
* Add LFE support

* Revert formatting changes to README.md

* Fix formatting again

* Update CI badge in README.md (#4)

* Add test workflow (#7)

* Add test workflow

* Don't use matrix

* Try inline cross

* Pin runner

* Directly download release via CLI

* Add caching

* Extract to bash file

* Last tweaks

* Add support for 8th (#1)

Add support for 8th

---------

Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>

* add wren support (#8)

* Trigger lines of code counter redeploy (#9)

* Add LFE support

* Revert formatting changes to README.md

* Fix formatting again

* Remove scheme submodule

* Add quotes

* Update lfe.lfe

* Increment comment count

* Decrement blank count

---------

Co-authored-by: Erik Schierboom <erik_schierboom@hotmail.com>
Co-authored-by: Glenn Jackman <glenn.jackman@gmail.com>
  • Loading branch information
3 people authored Nov 9, 2023
1 parent c3d4a35 commit 48b5ae3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Tokei ([時計](https://en.wiktionary.org/wiki/%E6%99%82%E8%A8%88))
[![Mean Bean CI](https://github.com/exercism/tokei/actions/workflows/mean_bean_ci.yml/badge.svg)](https://github.com/exercism/tokei/actions/workflows/mean_bean_ci.yml)
[![Mean Bean CI](https://github.com/XAMPPRocky/tokei/workflows/Mean%20Bean%20CI/badge.svg)](https://github.com/XAMPPRocky/tokei/actions?query=workflow%3A%22Mean+Bean+CI%22)
[![Help Wanted](https://img.shields.io/github/issues/XAMPPRocky/tokei/help%20wanted?color=green)](https://github.com/XAMPPRocky/tokei/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)
[![Lines Of Code](https://tokei.rs/b1/github/XAMPPRocky/tokei?category=code)](https://github.com/XAMPPRocky/tokei)
[![Documentation](https://docs.rs/tokei/badge.svg)](https://docs.rs/tokei/)
Expand Down Expand Up @@ -435,6 +435,7 @@ KakouneScript
Kotlin
Lean
Less
LFE
LinkerScript
Liquid
Lisp
Expand Down
8 changes: 8 additions & 0 deletions languages.json
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,14 @@
"extensions": ["less"],
"quotes": [["\\\"", "\\\""], ["'", "'"]]
},
"Lfe": {
"name": "LFE",
"line_comment": [";"],
"multi_line_comments": [["#|", "|#"]],
"quotes": [["\\\"", "\\\""], ["'", "'"]],
"nested": true,
"extensions": ["lfe"]
},
"Liquid": {
"name": "Liquid",
"quotes": [["\\\"", "\\\""], ["'", "'"]],
Expand Down
15 changes: 15 additions & 0 deletions tests/data/lfe.lfe
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
; 15 lines 4 code 5 comments 6 blanks

(defmodule my-code
(export (hello-world 0)))

;;; Commentary:
;; Provides helper functions

;;; Code

(defun pi () 3.14) ; a constant for Π not exported

(defun hello-world () "Hello, World!")

;;; lfe.lfe ends here

0 comments on commit 48b5ae3

Please sign in to comment.