Differences

This shows you the differences between two versions of the page.

Link to this comparison view

alf:teme:tema_en_1 [2021/03/12 12:33]
alexandru.radovici
alf:teme:tema_en_1 [2021/03/17 16:21] (current)
alexandru.radovici [Rules]
Line 208: Line 208:
 The homework has a lot of features that have to be implemented,​ we suggest you start like this: The homework has a lot of features that have to be implemented,​ we suggest you start like this:
   - Read the input file into s string and implement the ''​no file''​ error   - Read the input file into s string and implement the ''​no file''​ error
-  - Split the read input by ''​\n''​ (''​\n\r''​ if using windows, make sure top change it before you commit to git) string using the [[https://​developer.mozilla.org/​en-US/​docs/​Web/​JavaScript/​Reference/​Global_Objects/​String/​split|split]] function+  - Split the read input by ''​\n''​ (''​\r\n''​ if using windows, make sure top change it before you commit to git) string using the [[https://​developer.mozilla.org/​en-US/​docs/​Web/​JavaScript/​Reference/​Global_Objects/​String/​split|split]] function
   - Split each line by ' ' and extract the instruction and its parameters   - Split each line by ' ' and extract the instruction and its parameters
   - Implement the ''​unknown instruction''​ error   - Implement the ''​unknown instruction''​ error
Line 230: Line 230:
 ===== Rules ===== ===== Rules =====
  
-  - You may not use //RegEx// or any other library that would use regular expressions (except ​\n\r? for splitting the input lines of the source)+  - You may not use //RegEx// or any other library that would use regular expressions (except \r?\n for splitting the input lines of the source)
   - Source code needs to be indented (-0.1p)   - Source code needs to be indented (-0.1p)
   - You need to explain in details in the Readme.md how you wrote the homework (-1p)   - You need to explain in details in the Readme.md how you wrote the homework (-1p)
alf/teme/tema_en_1.1615545192.txt.gz · Last modified: 2021/03/12 12:33 by alexandru.radovici
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0