Differences

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

Link to this comparison view

alf:teme:tema3_en [2020/03/22 20:00]
diana.ghindaoanu
alf:teme:tema3_en [2020/04/07 20:06] (current)
alexandru.radovici
Line 4: Line 4:
  
 <note important>​ <note important>​
-Deadline: **7th of April, 23:55**\\+Deadline: **12th of April, 23:55**\\
 Points: **2 points** out of the final grade\\ Points: **2 points** out of the final grade\\
 Upload the homework: [[https://​vmchecker.cs.pub.ro|vmchecker.cs.pub.ro]]\\ Upload the homework: [[https://​vmchecker.cs.pub.ro|vmchecker.cs.pub.ro]]\\
Line 31: Line 31:
  
 Try running small scripts to test every feature. Try running small scripts to test every feature.
 +
 +A useful debugging too is [[https://​nolanlawson.github.io/​jison-debugger|jison-debugger]]
  
 ===== AST Format ===== ===== AST Format =====
Line 243: Line 245:
 </​code>​ </​code>​
  
-[[https://​github.com/​upb-fils/​alf/​tree/​master/​Devoir/​alf/​verify/​alf/​6_class|Example]]+[[https://​github.com/​upb-fils/​alf/​tree/​master/​Devoir/​alf/​verify/​alf/​6_struct|Example]]
  
 === Property access === === Property access ===
Line 266: Line 268:
 </​code>​ </​code>​
  
-[[https://​github.com/​upb-fils/​alf/​tree/​master/​Devoir/​alf/​verify/​alf/​6_class|Example]]+[[https://​github.com/​upb-fils/​alf/​tree/​master/​Devoir/​alf/​verify/​alf/​6_struct|Example]]
  
  
Line 302: Line 304:
 <code javascript>​ <code javascript>​
 { {
- id:"vector_element",+ id:"element_of_vector",
  vector:{  vector:{
  expression for array  expression for array
Line 456: Line 458:
 </​code>​ </​code>​
  
-[[https://​github.com/​upb-fils/​alf/​tree/​master/​Devoir/​alf/​verify/​alf/​4_messages|Example]]+[[https://​github.com/​UPB-FILS/​alf/​tree/​master/​Devoir/​alf/​verify/​alf/​4_function|Example]]
  
 === Return === === Return ===
Line 623: Line 625:
 <code javascript>​ <code javascript>​
 { {
- id:"loop_for",+ id:"for",
         variable:​variable_name,​         variable:​variable_name,​
  exp:{  exp:{
Line 639: Line 641:
 <code javascript>​ <code javascript>​
 { {
- id:"loop_for",+ id:"for",
         variable:​variable_name,​         variable:​variable_name,​
  from: { expression },  from: { expression },
alf/teme/tema3_en.1584900052.txt.gz · Last modified: 2020/03/22 20:00 by diana.ghindaoanu
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