ppl

所属分类:编程语言基础
开发工具:Racket
文件大小:0KB
下载次数:0
上传日期:2023-10-19 09:03:58
上 传 者sh-1993
说明:  “编程语言原理”课程练习@Polimi 2023,
(Exercises for course "Principles of Programming Languages" @ Polimi 2023,)

文件列表:
.DS_Store (10244, 2023-12-21)
erlang/ (0, 2023-12-21)
erlang/COMPILE.md (652, 2023-12-21)
erlang/ex1_hello_world.erl (2521, 2023-12-21)
erlang/ex2_actor_model.erl (3051, 2023-12-21)
erlang/ex3_dyn_code_reload.erl (309, 2023-12-21)
erlang/ex3b_lib.erl (273, 2023-12-21)
erlang/ex_2023_12_13.erl (2986, 2023-12-21)
erlang/ex_2023_12_15.erl (1336, 2023-12-21)
erlang/ex_2023_12_20.erl (2903, 2023-12-21)
erlang/var.erl (46, 2023-12-21)
exams/ (0, 2023-12-21)
exams/2023-01-25.rkt (993, 2023-12-21)
haskell/ (0, 2023-12-21)
haskell/2023_10_27.hs (2030, 2023-12-21)
haskell/2023_11_17.hs (1933, 2023-12-21)
haskell/2023_11_22.hs (3181, 2023-12-21)
haskell/2023_11_29.hs (4228, 2023-12-21)
haskell/2023_12_15.hs (1880, 2023-12-21)
haskell/2023_12_20.hs (1196, 2023-12-21)
haskell/COMPILE.md (564, 2023-12-21)
haskell/Ex10_WriterMonad.hs (1177, 2023-12-21)
haskell/Ex1_HelloWorld.hs (860, 2023-12-21)
haskell/Ex2_Types.hs (1287, 2023-12-21)
haskell/Ex3_Features.hs (4795, 2023-12-21)
haskell/Ex4Lib.hs (80, 2023-12-21)
haskell/Ex4_Classes.hs (1744, 2023-12-21)
haskell/Ex5_Foldable.hs (976, 2023-12-21)
haskell/Ex6_Functors.hs (1626, 2023-12-21)
haskell/Ex7_Applicative.hs (2225, 2023-12-21)
haskell/Ex8_Monads.hs (6423, 2023-12-21)
haskell/Ex9_StateMonads.hs (2153, 2023-12-21)
racket/ (0, 2023-12-21)
racket/2023-09-22-extras.rkt (2963, 2023-12-21)
racket/2023-10-11-exercises.rkt (1077, 2023-12-21)
racket/2023-12-15-exercises.rkt (1973, 2023-12-21)
racket/2023-12-20-exercises.rkt (923, 2023-12-21)
racket/ap1-list-comprehension.rkt (1485, 2023-12-21)
... ...

# Principles of Programming Languages: Exercises (A.Y. 2023/24) ## Racket You can download [DrRacket](https://download.racket-lang.org/) to run the code in the examples yourself! A primer on Racket (the slides you've briefly seen during the exercises) are [here](slides/Racket-intro.pdf). Don't forget to check the 'extras' files for additional examples or stuff I might have forgot to mention in last class. Don't worry, we'll get back on those topics the next time. ## Haskell You can [download](https://www.haskell.org/downloads/) the Haskell compile (GHC) with GHCup to test the examples by yourself! If you want, you can setup the language server for your favorite code editor to get autocompletion and type suggestions. Look at [COMPILE.md](haskell/COMPILE.md) for details on how to run Haskell examples. ## Erlang You can [download](https://www.erlang.org/downloads) Erlang to run the examples yourself! Look at [COMPILE.md](erlang/COMPILE.md) for details on how to run Erlang examples. ## Calendar Exercise sessions won't have a regular scheduling. Here you can find a log of what we did, and when. | Date | Language | Files | Recording |:---------|:---------|:------|:--------- |2023-09-22| Racket | [ex1-hello-world](racket/ex1-hello-world.rkt), [ex2-recursion](racket/ex2-recursion.rkt), [ex3-lists](racket/ex3-lists.rkt), [extras](racket/2023-09-22-extras.rkt) | [VOD](https://politecnicomilano.webex.com/webappng/sites/politecnicomilano/recording/f32edb503b60103c93b7a2cd50a10612/playback) |2023-10-11| Racket | [ex3-lists](racket/ex3-lists.rkt), [ex4-structs](racket/ex4-structs.rkt), [ex5-closures](racket/ex5-closures.rkt), [ex6-macros](racket/ex6-macros), [exercises](racket/2023-10-11-exercises.rkt) | [VOD](https://politecnicomilano.webex.com/webappng/sites/politecnicomilano/recording/74062d914a4f103cadb6f66117d057bb/playback) |2023-10-18| Racket | [ex7-continuations](racket/ex7-continuations.rkt), [ex8-exceptions](racket/ex8-exceptions.rkt), [ex9-non-determinism](racket/ex9-non-determinism.rkt), [ex10-oop.rkt](racket/ex10-oop.rkt) | [VOD](https://politecnicomilano.webex.com/webappng/sites/politecnicomilano/recording/357f84084fcf103cafdf76f88f404a10/playback) |2023-10-27| Haskell | [Ex1_HelloWorld](haskell/Ex1_HelloWorld.hs) [Ex2_Types](haskell/Ex2_Types.hs) [Ex3_Features](haskell/Ex3_Features.hs) [Exercises](haskell/2023-10-27-exercises.hs) | [VOD](https://politecnicomilano.webex.com/politecnicomilano/ldr.php?RCID=32693e4eadf0cb33ff682ce20b69646e) 2023-11-17 | Haskell | [Ex4_Classes](haskell/Ex4_Classes.hs) [Ex5_Foldable](haskell/Ex5_Foldable.hs) [Ex6_Functors](haskell/Ex6_Functors.hs) [Ex7_Applicative](haskell/Ex7_Applicative.hs) [Exercises](haskell/2023_11_17.hs) | [VOD](https://politecnicomilano.webex.com/webappng/sites/politecnicomilano/recording/82635df1676b103ca7ff26a604139aa8/playback) |2023-11-29| Haskell | [Ex9_StateMonads](haskell/Ex9_StateMonads.hs) [Exercises](haskell/2023_11_29.hs) | [VOD](https://politecnicomilano.webex.com/webappng/sites/politecnicomilano/recording/8ba9672870d8103cb977b2240e49f628/playback) ## Questions If you have any doubts or curiosities, write me an email at `andrea.franchini@polimi.it`

近期下载者

相关文件


收藏者