Die Suche ergab 63 Treffer

von Ragnar
15. Okt 2018 09:15
Forum: Konzepte der Programmiersprachen
Thema: WS2018/19
Antworten: 18
Zugriffe: 1184

Re: WS2018/19

Ja, der Kurs wird angeboten.
Alle Informationen zu Materialien, Organisation, und Zugangsdaten findet sich auf der Website und den von dort verlinkten Seiten: https://www.stg.tu-darmstadt.de/teachin ... dex.en.jsp
von Ragnar
3. Mär 2018 13:01
Forum: Archiv
Thema: RefCount_SRCFLAE: Some questions
Antworten: 1
Zugriffe: 240

Re: RefCount_SRCFLAE: Some questions

For the first part: I am not sure what you mean by updating the values stored at some locations as well? The update function is only supposed to change the value of a single location in the store, this is not supposed to have any effect outside of that location. However, the reference counting inter...
von Ragnar
3. Mär 2018 11:45
Forum: Archiv
Thema: SRCFLAE: wrong passed store
Antworten: 2
Zugriffe: 240

Re: SRCFLAE: wrong passed store

Hi, yes you are right, s2 should be used to interpret the namedExpr. Basically, every time a store is updated in any way, and then used again is incorrect. However, I suspect the code still works as expected, because we have correctly obtained a new location, and we correctly update that location at...
von Ragnar
1. Mär 2018 22:07
Forum: Archiv
Thema: Ex06: Wrong reference counting
Antworten: 4
Zugriffe: 395

Re: Ex06: Wrong reference counting

The main problem with the tracking on the value is that doing it this way is only simpler if because of the mutable field. Which is plain bad style. Encoding the counters as part of the store for example would allow us to continue using store passing style and keep the interpreter pure. Did you try ...
von Ragnar
1. Mär 2018 20:35
Forum: Archiv
Thema: Ex06: Wrong reference counting
Antworten: 4
Zugriffe: 395

Re: Ex06: Wrong reference counting

Hi, does ex06 even do any reference counting? That seems to be mostly about the qualitative properties of RC. Anyway, what I would like to discuss a bit is the implementation of the reference counting interpreter. The short version is … the implementation of that interpreter is not very good. This g...
von Ragnar
30. Dez 2017 19:19
Forum: Archiv
Thema: (Total) functional programming / exam topics
Antworten: 1
Zugriffe: 309

Re: (Total) functional programming / exam topics

Hi, this task was designed so that you have to do a bit of your own research, so you did not miss anything in the slides ;-). A mistake like yours is unfortunate, and we recognize that the task may be a bit clearer that this is a new topic, this was already updated for next year. In this case, the s...
von Ragnar
26. Nov 2017 21:27
Forum: Archiv
Thema: Assignment 3 - Task 3 (and 4)
Antworten: 4
Zugriffe: 787

Re: Assignment 3 - Task 3 (and 4)

Extra) „Most higher-order functions abstract over computations of a given function.“ Try to give an example of a higher-order function, which does not abstract over computations. A simple example would be a function which returns a function, but does not take a function as an argument. Or a functio...
von Ragnar
24. Nov 2017 14:38
Forum: Archiv
Thema: Assignment 3 - Task 3 (and 4)
Antworten: 4
Zugriffe: 787

Re: Assignment 3 - Task 3 (and 4)

Hi, 1) You are not limited in which functions you choose, other than they should make use of first class functions. I would however recommend to choose the same functions for task 3 and 4, as that will make task 4 easier. 2) I am not sure if I correctly understand the question. Having the layer of a...
von Ragnar
25. Okt 2017 09:59
Forum: Archiv
Thema: [SOLVED] SBT can't fetch the "sbt-submission" plugin
Antworten: 4
Zugriffe: 705

Re: SBT can't fetch the "sbt-submission" plugin

Hi, could you send the full log that sbt produces? The plugin is hosted on bintray, not maven central, so its not surprising that it is not found there :-). For the other bug … that is very unfortunate. When you open the sbt project in IntelliJ, you can select to “Use SBT shell for build and ipmorts...
von Ragnar
27. Mär 2017 13:42
Forum: Archiv
Thema: Exam announcements
Antworten: 4
Zugriffe: 1291

Re: Exam announcements

Hi,

the final grades should be visible in TUCaN in the next days.
Thank you all for participating, I hope you all enjoyed the course (at least a little bit :) ).

Best,
Ragnar
von Ragnar
22. Mär 2017 14:33
Forum: Archiv
Thema: Exam announcements
Antworten: 4
Zugriffe: 1291

Re: Exam announcements

Hi,

the grades are currently not available in TUCaN, because of the changes after the inspection.
We will inform you once the final grades should be available.

Best,
Ragnar
von Ragnar
6. Mär 2017 10:33
Forum: Archiv
Thema: Ambiguous slides: Meta/Meta-circular Intepreter
Antworten: 1
Zugriffe: 377

Re: Ambiguous slides: Meta/Meta-circular Intepreter

The summary slides in the beginning seem to oversimplify quite a lot here :-)
The V05 Slides are correct.
von Ragnar
5. Mär 2017 15:27
Forum: Archiv
Thema: Ex13
Antworten: 1
Zugriffe: 288

Re: Ex13

Hi, for some of those tasks, I did change some parts during the exercise sessions, because of student questions, or because I wanted to show something different. So the solutions may not always exactly correspond to the given tasks.
von Ragnar
5. Mär 2017 08:37
Forum: Archiv
Thema: RCFAE Interpreter
Antworten: 2
Zugriffe: 485

Re: RCFAE Interpreter

The first line: val recEnv = collection.mutable.Map() ++ env has the result, that `recEnv` is a mutable map, which contains all elements from `env`. This is important, so that mutating `recEnv` does not change env. The second line is a bit tricky, because it uses and modifies the same map in a singl...
von Ragnar
3. Mär 2017 19:11
Forum: Archiv
Thema: Ex06 Task 2
Antworten: 5
Zugriffe: 583

Re: Ex06 Task 2

Okay, I get that the notation was very unfortunate. I am sorry. But I did explain this in a lot of detail during the exercise session. There is no “real object and false object“ the arrow to little dot notation just says, that an alias is created to the Box object, basically what happens at, i.e., l...

Zur erweiterten Suche