From 3aa20103882b9921ac5d8dd4cf6e75c738299d9b Mon Sep 17 00:00:00 2001 From: Nikolay Vyahhi Date: Mon, 8 Sep 2014 20:51:08 +0400 Subject: [PATCH] ASM32 & ASM64 instead of ASM. --- stepic_plugins/quizzes/code/__init__.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/stepic_plugins/quizzes/code/__init__.py b/stepic_plugins/quizzes/code/__init__.py index 10f8f03..b634b77 100644 --- a/stepic_plugins/quizzes/code/__init__.py +++ b/stepic_plugins/quizzes/code/__init__.py @@ -14,9 +14,10 @@ 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", @@ -24,7 +25,8 @@ class Languages(object): 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" }