lib/rouge/lexers/mathematica.rb in rouge-4.2.1 vs lib/rouge/lexers/mathematica.rb in rouge-4.3.0
- old
+ new
@@ -5,10 +5,10 @@
module Lexers
class Mathematica < RegexLexer
title "Mathematica"
desc "Wolfram Mathematica, the world's definitive system for modern technical computing."
tag 'mathematica'
- aliases 'wl'
+ aliases 'wl', 'wolfram'
filenames '*.m', '*.wl'
mimetypes 'application/vnd.wolfram.mathematica.package', 'application/vnd.wolfram.wl'
# Mathematica has various input forms for numbers. We need to handle numbers in bases, precision, accuracy,
# and *^ scientific notation. All this works for integers and real numbers. Some examples