Skip to content

Commit

Permalink
ASM32 & ASM64 instead of ASM.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyahhi committed Sep 8, 2014
1 parent 1feb235 commit 3aa2010
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions stepic_plugins/quizzes/code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,19 @@ class Languages(object):
HASKELL = 'haskell'
JAVA = 'java'
OCTAVE = 'octave'
ASM = 'asm'
all = [PYTHON, CPP, HASKELL, JAVA, OCTAVE, ASM]
compiled = [CPP, HASKELL, ASM]
ASM32 = 'asm32'
ASM64 = 'asm64'
all = [PYTHON, CPP, HASKELL, JAVA, OCTAVE, ASM32, ASM64]
compiled = [CPP, HASKELL, ASM32, ASM64]
interpreted = [PYTHON, OCTAVE]
default_templates = {
PYTHON: "# put your python code here",
CPP: "#include <iostream>\n\nint main() {\n // put your code here\n return 0;\n}",
HASKELL: "main :: IO ()\n-- put your code here",
JAVA: "class Main {\n public static void main(String[] args) {\n // put your code here\n }\n}",
OCTAVE: "# put your octave code here",
ASM: "# put your asm code here",
ASM32: "# put your asm32 code here",
ASM64: "# put your asm64 code here"
}


Expand Down

0 comments on commit 3aa2010

Please sign in to comment.