Die Suche ergab 121 Treffer

von Toa
13. Sep 2015 13:23
Forum: Das Wesentliche
Thema: Termine der Games-Gruppe für dieses Semester
Antworten: 3
Zugriffe: 894

Re: Termine der Games-Gruppe für dieses Semester

Danke. Ich hab es grad noch mal probiert und den gleichen Fehler erhalten: Delivery to the following recipient failed permanently: games@fachschaft.informatik.tu-darmstadt.de Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recip...
von Toa
13. Sep 2015 12:31
Forum: Das Wesentliche
Thema: Termine der Games-Gruppe für dieses Semester
Antworten: 3
Zugriffe: 894

Re: Termine der Games-Gruppe für dieses Semester

Hi,

hat sich die Games-Gruppe aufgelöst? Wenn ich auf die Mailingliste schreibe bekomme ich folgenden Fehler:
The error that the other server returned was:
550 5.7.1 <games@fachschaft.informatik.tu-darmstadt.de>... nonexisting recipient
von Toa
9. Sep 2015 20:53
Forum: Archiv
Thema: Negative points for wrong answers in the exam?
Antworten: 3
Zugriffe: 766

Re: Negative points for wrong answers in the exam?

It could also be the case, that one has avoided to give a possibly wrong answer, because he feared negative points as it were communicated in the exam. Such a person gets no points.
von Toa
7. Sep 2015 17:09
Forum: Archiv
Thema: Recommended to repeat assignments or exercises?
Antworten: 1
Zugriffe: 328

Re: Recommended to repeat assignments or exercises?

Well, I would also go for the exercises. However, everything is exam related. Make sure you know the interpreter and are able to related them to different concepts e.g scoping, why do we need a env, why do we need a store and don't simulate the flow with the nev, ...
von Toa
6. Sep 2015 15:35
Forum: Archiv
Thema: Ex.12
Antworten: 3
Zugriffe: 528

Re: Ex.12

Thanks for your help. I've tried to find the glitch in the third example. Can you approve this? Attention: Spoiler 1. SetVar(v1, 0) 2. update if0 dep first 3. If0 yields the thenExpr that is v3 with the old v1 value 3.1 App(Fun('x, Add('x, v1)) where v1=2 (initial value) and x = v2 = 1 3.2 Yields 3 ...
von Toa
5. Sep 2015 20:27
Forum: Archiv
Thema: [Letrec]question regarding recursive let
Antworten: 2
Zugriffe: 332

Re: [Letrec]question regarding recursive let

Here I'm wondering why we need a mutable collection(i.e. what will be changed in each recursion) Have you read the slides about recursion? The regular Let just binds the boundId in the boundBody. That's why we need to introduce the LetRec that has an additional binding for the boundId in the namedE...
von Toa
4. Sep 2015 19:35
Forum: Archiv
Thema: Confusion with Rec interpreter
Antworten: 3
Zugriffe: 421

Re: Confusion with Rec interpreter

Thanks for the explanations :) I thought the recEnv is a lambda expression and is therefore not evaluated at definition time (ln 18). The RCFWAEInterpMeta is using Scala functions to implement functions in our language. Therefore it is also a meta-interpreter.
von Toa
4. Sep 2015 13:25
Forum: Archiv
Thema: Confusion with Rec interpreter
Antworten: 3
Zugriffe: 421

Confusion with Rec interpreter

Hi, I'm a little bit confused in terms of the different types of recursive interpreter. The slides (V 3.1) do not match with the provided meta interpreter. RCFWAEFunEnvs is well explained in the slides. Is this interpreter still a syntactic one, although we use Scala functions to represent environme...
von Toa
1. Sep 2015 15:20
Forum: Archiv
Thema: Ex.12
Antworten: 3
Zugriffe: 528

Ex.12

Hi, I missed the 12th group exercise and I'm therefore not sure if my solution is correct. Would be nice if someone could share its insights. Task 1 (1) Both implementations store expressions as closure and evaluate expressions once they are requested/used. Compare the Add methods: Lazy implementati...
von Toa
30. Aug 2015 15:57
Forum: Archiv
Thema: Eager evaluation Slides V9
Antworten: 1
Zugriffe: 356

Eager evaluation Slides V9

Hi, consider the example on slide 50 in V9.pdf. Is this really eager evaluation there? I thought eager evaluation will evaluate an expression as soon as it's bound to a variable. So, for me it should look like this: {let {x {+ 4 5}} {let {y {+ x x}} {let {z y} {let {x 4} z}}}} --> {let {x 9} {let {y...
von Toa
27. Aug 2015 14:04
Forum: Archiv
Thema: Recursion in SRCFWAE
Antworten: 6
Zugriffe: 914

Re: Recursion in SRCFWAE

Haha, I finally understood the problem you were talking about :P Your point is, that the Rec case should actually look like: case Rec(boundId, namedExpr, boundBody) => { val (newLoc,s2) = store.malloc(stack, NumV(0)) val extStack = stack.head + (boundId -> newLoc) :: stack val (namedVal, bodyStore) ...
von Toa
27. Aug 2015 13:25
Forum: Archiv
Thema: Errors in provided RefCount_SRCFWAEInterp
Antworten: 1
Zugriffe: 384

Errors in provided RefCount_SRCFWAEInterp

Hi, RefCount_SRCFWAEInterp (package memory) is not correct implemented. Some asserts fail e.g val (tv2, _) = interp( With('a, NewBox(1), With('f, Fun('x, Add('x, OpenBox('a))), Seqn(SetBox('a, 2), App('f, 5))))) assert(tv2 == NumV(7)) Which actually yields NumV(10). It took me a while to figure it o...
von Toa
26. Aug 2015 20:06
Forum: Archiv
Thema: Recursion in SRCFWAE
Antworten: 6
Zugriffe: 914

Re: Recursion in SRCFWAE

Hi, in my opinion there is nothing wrong. Compare the implementation with the "RCFWAEInterp" interpreter. The extended environment is a recursive environment binding the recursive identifier in the namedExpr and the boundBody as well. The behavior/idea is described in V3-2.pdf. With state we do not ...
von Toa
26. Aug 2015 17:09
Forum: Archiv
Thema: Exercise 4: RSCFWAEInterp
Antworten: 1
Zugriffe: 348

Exercise 4: RSCFWAEInterp

Hi, the provided sample solution is using mutable maps. However, the task description specifies: You are not allowed to use Scala’s support for mutation (var, mutable.Map) but must use our language’s support directly. It looks like the actual implementation doesn't require the environment to be mutu...
von Toa
25. Aug 2015 16:07
Forum: Archiv
Thema: FWAEDynamicInterp inconsistency
Antworten: 3
Zugriffe: 520

Re: FWAEDynamicInterp inconsistency

Considering the exam, you won't have to reproduce the interpreters from the lecture line-by-line ;). So, if there is a task about the implementation of the interpreters, you will most likely be given a template (using either Values or Expressions) and would only have to fill in the missing parts th...

Zur erweiterten Suche