Guest User

Untitled

a guest
Sep 19th, 2024
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.08 KB | None | 0 0
  1. (*
  2. The coursework for Hakim-e Toos University, which I will be attending for the next four years.
  3. This markup syntax is called 'QwikQurs', QQ for short.
  4. There's a parser provided for this markup.
  5.  
  6. The grammar (EBNF):
  7.  
  8. qq ::= COMMENT
  9. | qq-element { qq-element }
  10. ;
  11.  
  12. qq-element ::= '.' semester-marker ':' NEWLINE course-list
  13. ;
  14.  
  15. semester-marker ::= "Semester" semester-number '[' DIGIT "el" ']'
  16. | "Electives"
  17. ;
  18.  
  19. semester-number ::= '#' ( '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' ) ;
  20.  
  21.  
  22. course-list ::= course { ';' course } ';'
  23. ;
  24.  
  25. course ::= course-element { ',' course-element }
  26. ;
  27.  
  28. course-element ::= course-id
  29. | course-title
  30. | course-type
  31. | course-has-lab
  32. | course-credits
  33. | course-prereq
  34. ;
  35.  
  36. course-id ::= DIGIT { DIGIT }
  37. ;
  38.  
  39. course-title ::= LETTER { LETTER }
  40. | "#this"
  41. ;
  42.  
  43. course-type ::= "Core"
  44. | "Required"
  45. | "General"
  46. | "Elective"
  47. | "Internship"
  48. ;
  49.  
  50. course-has-lab ::= "Lab"
  51. | "NoLab"
  52. ;
  53.  
  54. course-credits ::= DIGIT '-' DIGIT
  55. ;
  56.  
  57. course-prereq ::= course-title { prereq-junction course-title }
  58. ;
  59.  
  60. prereq-junction ::= '&'
  61. | '|'
  62. ;
  63.  
  64.  
  65. *)
  66.  
  67. .Semester#1[0el]:
  68. 7030080,Foundations of Computing and Program Construction,Core,NoLab,4-0,NoPreReq;
  69. 7030081,General Mathematics 1,Required,NoLab,3-0,NoPreReq;
  70. 7030082,Physics 1,Required,NoLab,3-0,NoPreReq;
  71. 7030083,Computer Lab,Core,Lab,0-1,NoPreReq;
  72. 903010,Population Control and Family Management,General,NoLab,2-0,NoPreReq;
  73. 903006,Persian Linguistics and Literature,General,NoLab,3-0,NoPreReq;
  74. 903000,Islamic Thought 1,General,NoLab,3-0,NoPreReq;
  75. .Semester#2[0el]:
  76. 7030084,Discrete Mathematics,Core,NoLab,3-0,General Mathematics 1&Foundations of Computing and Program Construction;
  77. 7030085,Advanced Program Consturction,Core,NoLab,3-0,Foundations of Computing and Program Construction;
  78. 7030086,Physics 2,Core,NoLab,3-0,Physics 1;
  79. 7030087,General Mathematics 2,Core,NoLab,3-0,General Mathematics 1;
  80. 903001,Islamic Thought 2,General,NoLab,2-0,Islamic Thought 1;
  81. 903004,Analytical History of Islam's Origins,General,NoLab,2-0,NoPreReq;
  82. .Semester#3[0el]:
  83. 7030088,Electric Circuits,Core,NoLab,3-0,Physics 2|Differential Equations;
  84. 7030089,Measurement Lab,Core,Lab,0-1,Electric Circuits|#this;
  85. 7030090,Logical Circuits,Core,NoLab,3-0,Foundations of Computing and Program Construction;
  86. 7030091,Logical Circuits Lab,Core,Lab,0-1,Logical Circuits|#this;
  87. 7030092,Algorithms and Data Structures,Core,NoLab,3-0,Advanced Program Construction|Discrete Mathematics;
  88. 7030093,Differential Equations,Required,NoLab,3-0,General Mathematics 2|#this;
  89. 7030094,Statistics and Probability for Engineers,Required,NoLab,3-0,General Mathematics;
  90. 903007,General English,General,NoLab,3-0,NoPreReq;
  91. .Semester#4[2el]:
  92. 7030095,Computer Architecture,Core,NoLab,3-0,Logical Circuits;
  93. 7030096,Computer Architecture Lab,Core,Lab,0-1,Computer Architecture|Logical Circuits Lab|#this;
  94. 7030097,English for SWE/Compsci,Core,NoLab,2-0,General English;
  95. 7030098,Mathematics for Engineers,Core,NoLab,3-0,General Mathematics 2&Differential Equations;
  96. 7030099,Formal Linguistics and Automata Theory,Core,NoLab,3-0,Algorithms and Data Structures;
  97. .Semester#5[2el]:
  98. 703112,Algorithm Design,Core,NoLab,3-0,Statistics and Probability for Engineers&Algorithms and Data Structures;
  99. 7030103,Operating Systems,Core,NoLab,3-0,Computer Architecture&Algorithms and Data Structures;
  100. 7030104,Operating Systems Lab,Core,Lab,0-1,Operating Systems|#this;
  101. 7030105,Signals and Systems,Core,NoLab,3-0,Mathematics for Engineers;
  102. 903008,Physical Education,General,Lab,3-0,NoPreReq;
  103. .Semester#6:
  104. 7030108,Computer Networks,Core,NoLab,3-0,Operating Systems;
  105. 7030109,Computer Networks Lab,Core,Lab,0-1,Computer Networks|#this;
  106. 7030110,Computer-aided Design and Digital Systems,Core,NoLab,3-0,Computer Architecture;
  107. 7030111,Embedded and Real-time Systems,Core,NoLab,3-0,Operating Systems;
  108. 7030102,Artificial Intelligence,Core,NoLab,3-0,Advanced Program Construction;
  109. 7030113,Research Methodology,Core,NoLab,2-0,English for SWE/Compsci;
  110. 7030114,Internship,Internship,Lab,0-3,NoPreReq;
  111. .Semster#7[2el]:
  112. 7030115,Compiler Design and Programming Language Theory,Core,NoLab,3-0,Algorithms and Data Structures;
  113. 7030116,Foundations of Secure Computing,Core,NoLab,3-0,Computer Networks;
  114. 7030117,Digital Project Management,Core,NoLab,3-0,>80Credits;
  115. 903005,Typical Interpretation of Quran,General,NoLab,3-0,NoPreReq;
  116. 903003,Islamic Revolution of Iran and Why Westerners are Still Ass-blasted About It after Four Fucking Decades and Why it isNecessary to Destroy Westerners,General,NoLab,2-0,NoPreReq;
  117. 903009,Gym 1,General,Lab,0-1,Physical Education;
  118. .Semester#8[4el]:
  119. 7030124,Final Project,Project,Lab,0-3,NoPreReq;
  120. 903002,Islamic Ethics,General,NoLab,2-0,NoPreReq;
  121. .Electives:
  122. 00000,Digital Electronic,Elective,NoLab,3-0,Digital Circuits;
  123. 00000,Electronic Circuits,Elective,NoLab,3-0,Eelctric Circuits;
  124. 00000,Intermediary Circuit Design,Elective,NoLab,3-0,Embedded and Real-time Systems;
  125. 00000,Linear Control Systems,Elective,NoLab,3-0,Signals and Systems;
  126. 00000,VLSI Circuits,Elective,NoLab,3-0,Digital Electronics;
  127. 00000,Parallel Programming,Elective,NoLab,3-0,Computer Architecture;
  128. 00000,Data Transfer,Elective,NoLab,3-0,Signals and Systems;
  129. 00000,Foundations of Wireless Networks,Elective,NoLab,3-0,Data Transfer;
  130. 00000,Foundations of Multi-media Systems,Elective,NoLab,3-0,Statistics and Probability for Engineers;
  131. 00000,Foundations of Distributed Computing,Elective,NoLab,3-0,Operating Systems;
  132. 00000,Physical Cyber-systems and Internet of Things,Elective,NoLab,3-0,Operating Systems;
  133. 00000,System Analysis and Design,Elective,NoLab,3-0,Operating Systems|#this;
  134. 00000,Software Engineering,Elective,NoLab,3-0,System Analysis and Design;
  135. 00000,Advanced Program Construction,Elective,NoLab,3-0,Systems Analysis and Design;
  136. 00000,Internet Engineering,Elective,NoLab,3-0,Computer Networks|#this&Advanced Program Construction;
  137. 00000,Software Validation,Elective,NoLab,3-0,System Analysis and Design;
  138. 00000,Foundations of Database Construction,Elective,NoLab,3-0,Operating Systems|#this;
  139. 00000,Foundations of Information Technology,Elective,NoLab,3-0,NoPreReq;
  140. 00000,Economy for Engineers,Elective,NoLab,3-0,NoPreReq;
  141. 00000,Foundations of Electronic Commerece,Elective,NoLab,3-0,Foundations of Information Technology;
  142. 00000,Ethics and Information Technology,Elective,NoLab,3-0,Foundations of Computing and Software Construction&>100credits;
  143. 00000,Foundations of Business Management,Elective,NoLab,3-0,NoPreReq;
  144. 00000,Multi-agent Systems,Elective,NoLab,3-0,NoPreReq;
  145. 00000,Computer Graphics,Elective,NoLab,3-0,Advanced Program Construction;
  146. 00000,Linear Algebra,Elective,NoLab,3-0,General Mathematics 2;
  147. 00000,Graph Theory,Elective,NoLab,3-0,Discrete Mathematics;
  148. 00000,Operations Research,Elective,NoLab,3-0,Foundations of Computing and Program Construction;
  149. 00000,Foundations of Job-creation,Elective,NoLab,3-0,NoPreReq;
  150. 00000,Foundations of Cybersecurity,Elective,NoLab,3-0,Computer Networks;
  151.  
  152.  
Add Comment
Please, Sign In to add comment