Skip to content

Commit

Permalink
Add Generator Scripting Language
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Apr 26, 2018
1 parent a2d92f1 commit 2d26d60
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/code-gen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,14 @@ class Gnuplot < CodeGen
Code = %q('set print"-";print'+E[PREV])
end

class GeneratorScriptingLanguage < CodeGen
Name = "GeneratorScriptingLanguage"
File = "QR.gsl"
Cmd = "gsl -q QR.gsl > OUTFILE"
Apt = "generator-scripting-language"
Code = %q(".template 1\n#{d[PREV,B]}\n.endtemplate")
end

class GEL < CodeGen
Name = "GEL (Genius)"
File = "QR.gel"
Expand Down

0 comments on commit 2d26d60

Please sign in to comment.