Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dovyski
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
dovyski
14y ago
It makes sense to me. Even though this is the "right" way of creating an "interpreted" language, the assignment I asked my students was way more simple: they had to interpret the source code and react to it immediately. There was no interme
32.
▲
by
dovyski
14y ago
I guess I forgot to mention, but one pair of students came up with a Forth like solution. Their interpreter was even able to parse the source code backwards.
33.
▲
by
dovyski
14y ago
When I arrived, PHP was already chosen. I think PHP was chosen because it is very similar to C and it lowers the learning curve for the students. I know PHP sucks sometimes, but it's still a cool language to play with.
34.
▲
by
dovyski
14y ago
Thanks! I was a little surprised too, but I think they focused too much on the test case, not the language itself. About your (first) question, yes, they all execute scripts line-by-line.
35.
▲
I told my 2nd year CS students to create a programming language [RESULTS]
(dovyski.com)
17 points
by
dovyski
14y ago
|
13 comments
36.
▲
by
dovyski
15y ago
No problem :) I really got your point now. I thought about the "demoralising X empowering" and my solution for that was to work with pairs of students. Working as a team, they can discuss and motivate each other. When I blog about the resul
37.
▲
by
dovyski
15y ago
As a programmer, I really enjoy the idea of creating my own VM and make it able to interpret/run a language I designed. Surely some people got excited about that :)
38.
▲
by
dovyski
15y ago
I had the same fun when I created my own language during an also mandatory course on compilers :) Even though my goal is to enhance my student's skills about OOP, I hope they have fun creating a language.
39.
▲
by
dovyski
15y ago
Sure, I will blog about that in the future. Stay tuned :)
40.
▲
by
dovyski
15y ago
Sure, I will share the results on a future post. I think the same way your high-school comp-sci teacher does, but this time I decided to break the line. About the github idea, I like it, but my students are not familiar with git yet. I will
41.
▲
by
dovyski
15y ago
I will share the results on a future post. I understand your point, but I think the assignment will enhance their skills related to objects, classes, methods and instantiation. That's my goal, not teaching about compilers or language struct
42.
▲
by
dovyski
15y ago
Wow, great history! Thanks for sharing that.
43.
▲
by
dovyski
15y ago
Thank you! You described my thoughts when I created the assignment :) Like I said, I was afraid to push them too hard. However I was denying them a real challenge, filled with surprises, learning experiences and fun.
44.
▲
by
dovyski
15y ago
Yeah, it's true. I will try to analyze and discuss the implementations at the end.
45.
▲
by
dovyski
15y ago
Thanks for the link and for sharing your experiences. Based on what you said, it looks like I'm on the right track to create a great learning experience. Nice :)
46.
▲
by
dovyski
15y ago
One pair of students decided to create a stack-based language. I guess they noticed it would save several lines of code and make the interpretation process easier to do.
47.
▲
by
dovyski
15y ago
Cool! It looks like you are creating a more robust interpreter. The one I told them to implement is simpler (no type check, for instance).
48.
▲
by
dovyski
15y ago
It's a big challenge indeed. About the compiler course, it's the same at UFFS: 4th year. Thanks and nice to see a brazilian fellow around here :)
49.
▲
by
dovyski
15y ago
Thanks for the words and suggestions! About yacc they will meet that when they attend the compiler course. I didn't see a Brainfuck clone yet, but I saw something in the same level of oddity. It was a language called "Star Wars", I guess. I
50.
▲
by
dovyski
15y ago
Thanks! I totally agree with you. My student's next assignments will be game-related: develop an agent to fight inside an arena and create a Guitar Hero like game. I really think they will learn more and better if they have to accomplish th
51.
▲
by
dovyski
15y ago
They get some basic understanding about the compilation process at some classes through the first two years. When I attended my CS course, in the 3rd years I got some understanding about programming language structure and learned about comp
52.
▲
by
dovyski
15y ago
Thank you!
53.
▲
by
dovyski
15y ago
Thanks! I think a procedural language makes more sense for them at this time. They are just learning OOP, so it would be hard to implement an interpreter for that. About your suggestion, that's cool. I think most of them are already assumin
54.
▲
I told my 2nd year CS students to create a programming language
(dovyski.com)
129 points
by
dovyski
15y ago
|
63 comments
55.
▲
Kingade (Kids + Games = Better World)
(kingade.com)
1 points
by
dovyski
15y ago
|
0 comments
56.
▲
Build HTML5 magazines
(dovyski.github.com)
1 points
by
dovyski
15y ago
|
0 comments
57.
▲
by
dovyski
15y ago
Sounds sweet! Congratulations!
58.
▲
by
dovyski
16y ago
I found no information about license. All it says is: By submitting the form you agree that the art you share is your personalcreation and you allow other users to use it for free. Is the license attached to each image pack?
59.
▲
by
dovyski
16y ago
I can't reproduce on CentOS: $ php -v PHP 5.2.6 (cli) (built: May 5 2008 10:32:59) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with eAccelerator v0.9.5.3, Copyright (c
60.
▲
by
dovyski
16y ago
Indeed Terragen is a very good and powerful tool. We are solving the same problem, but using different approaches.
More ›