News for hackers. Stuff that matters.

liamilan

Re:You should make a new programming language on Tuesday August 13, 2024 @05:22PM (#41239997)
I built Crumb (https://github.com/liam-ilan/crumb) a year ago, before starting university. It completely changed the way I conceptualized programming as a whole. You start feeling deja-vu every time you open a new language, and the "ah-ha!" feeling you get when you see something in another language you had to think about when implementing your own is super rewarding.

A year later (this summer) I used Crumb to land my first job at a pretty cool startup! The payoff was way more than I could have ever expected.

Re:Crafting Interpreters on Saturday July 13, 2024 @03:00PM (#40956085)
It was my first time making a language, so I built into the language whatever was needed to build something cool with Crumb.

Wanted first class functions to simplify the parse step (they can be treated like any other value), but I needed a different mechanism to invoke “native code” vs user-defined methods, so there’s two different types for that.

Needed some kind of compound data type, but I didn’t want to deal with side effects from pass by reference, so Crumb implements lists, but they are always pass by value :)

P.s. theres some pretty neat stuff build with Crumb at https://github.com/topics/crumb if anyone’s interested!

Re:Crafting Interpreters on Friday July 12, 2024 @11:35PM (#40951571)
Read Crafting Interpreters when building Crumb (https://github.com/liam-ilan/crumb). It was indispensable, especially the sections on scope and local variables. The balance between technical implementation and conceptual insights is super helpful, especially when trying to go off of the book’s set path.

It’s inspiring to see technical writing done like this. As an aspiring engineer, this sets a really high standard to aim for - excellent resource.

Re:Ask HN: Who wants to be hired? (March 2024) on Friday March 01, 2024 @06:45PM (#39568222)

  Location: Vancouver, BC
  Remote: Yes, can work onsite/hybrid as well
  Willing to relocate: Yes
  Technologies: JavaScript, Node.js, Express, Python, Poetry, Flask, Git, Java, C, C++
  Résumé/CV: https://drive.google.com/file/d/1rxE6SmDzM02jQikSbBFKIH1-ptAQ8rV6/view?usp=sharing
  Email: [email protected]
Hi! I'm Liam, a freshman at UBC, aiming to specialize in Computer Science/Physics. Looking for a software related internship in the summer. I've been programming for 7 years, and built dozens of projects, most of them can be found on my Github (https://github.com/liam-ilan).

Over the summer, I built Crumb (https://github.com/liam-ilan/crumb), a programming language from scratch, which was front paged here a couple months ago! I'm also a member of the firmware team at UBC Formula Electric, working on porting firmware for the Front Sensor Module to our next car.

Open to doing just around anything you need me to do. If you have an opening, or any advice, hit me up :D

Re:The Flix Programming Language on Sunday November 26, 2023 @01:58AM (#38419734)
Just a friendly UBC piggyback on Waterloo’s programming language ;)

Over summer, I built my own little functional language, Crumb (https://github.com/liam-ilan/crumb). Unlike Flix, the scope is tiny, but some pretty awesome stuff has been done with it. (Checkout this pixel art editor in your terminal, 100% Crumb: https://github.com/ronilan/crumbicon).

There’s a template (https://github.com/liam-ilan/crumb-template) and vscode highlighter (https://github.com/liam-ilan/crumb-vscode) for anyone who wants to mess around with it. Any feedback super appreciated :D

Robert Nystrom's Crafting Interpreters (https://craftinginterpreters.com/) is an awesome resource :D

Though I didn't implement his language exactly, a lot of what he talks about carries over anywhere. It especially helped me figure out how to handle the memory management and scoping.

Vincent Jacques' DrawGrammar (https://jacquev6.github.io/DrawGrammar/) was also super helpful. Getting to see the syntax definition visually made writing it so much easier :).

Yeah actually, stay tuned! :D
Crumb is garbage collected (there is no need to manually allocated/deallocate memory)... though there is no background "garbage collector" process running... The interpreter for Crumb is a tree-walk interpreter, and it just frees memory whenever it can... Crumb frees memory in the following cases:

1) When a function is finished, all memory related to the scope of that runtime is freed.

2) When an value is not returned out of a statement, or assigned to a variable, said value is freed.

3) When a function is applied, if an argument has no reference (it is not stored in a variable), it is freed.

4) Additionally, if the function itself has no reference (such as in the case of an immediately invoked function), it is freed.

Hope that clarifies things a bit :D

Show HN: Going into Freshman Year, Figured I Should Build an Interpreter ¯\(ツ)/¯

Hi all!I'm going into my freshman year, and figured that the best way to prepare for the intro to programming Racket course would be to implement my own garbage-collected, dynamically typed, functional programming language in C ;)Anyways... here's the repo: https://github.com/liam-ilan/crumbI started learning C over the summer, so I still have a whole lot to learn... Any feedback would be...

( Read More... | 82 comments | on HN )
Re:Ask HN: Who wants to be hired? (June 2023) on Thursday June 01, 2023 @03:53PM (#36156477)

  Location: Vancouver, BC
  Remote: Yes
  Willing to relocate: No
  Technologies: JavaScript, Node.js, Express, Python, Poetry, Flask, Git, Java, Matplotlib and more
  Résumé/CV: https://drive.google.com/file/d/14oXe10o0N2EJdYOyCrMbV56WDVK_U3Ac/view?usp=sharing
  Email: [email protected]
Hi! I'm Liam, going into UBC Sciences next year, and looking for a programming related internship/mentorship/job. I'm a snowboard instructor during the winter season, so I have some work experience. I've been programming for 7 years, but have never worked professionally in the field, mostly working on personal projects.

My most recent project is a database of electron orbital probability distribution renders done in Python and Matplotlib: https://liam-ilan.github.io/electron-orbitals/

Check out my GitHub: https://github.com/liam-ilan

Open to doing just around anything you need me to do. If you have an opening, or any advice, hit me up :D

Re:Ask HN: Who wants to be hired? (August 2022) on Tuesday August 02, 2022 @12:31AM (#32315101)

  Location: Vancouver, BC
  Remote: Yes
  Willing to relocate: No
  Technologies: JavaScript, Node.js, Express, Python, Poetry, Flask, Git, Java, and more
  Résumé/CV: https://drive.google.com/file/d/14oXe10o0N2EJdYOyCrMbV56WDVK_U3Ac/view?usp=sharing
  Email: [email protected]
Hi! I'm Liam, 16, and looking for a programming related internship/mentorship/job. I'm a snowboard instructor during the winter season, so I have some work experience. I've been programming for 6 years, but have never worked professionally in the field, mostly working on personal projects. You can find some of them at https://www.liamilan.com/ Open to doing just around anything you need me to do. If you have an opening, or any advice, hit me up :D
Re:Ask HN: Who wants to be hired? (July 2022) on Friday July 01, 2022 @03:22PM (#31951430)
Location: Vancouver, BC

Remote: Yes

Willing to relocate: No

Technologies: JavaScript, Node.js, Express, Python, Poetry, Flask, Git, Java, and more

Résumé/CV: https://drive.google.com/file/d/14oXe10o0N2EJdYOyCrMbV56WDVK...

Email: [email protected]

Hi! I'm Liam, 16, and looking for a programming related internship/mentorship/job. I'm a snowboard instructor during the winter season, so I have some work experience. I've been programming for 6 years, but have never worked professionally in the field, mostly working on personal projects. You can find some of them at https://www.liamilan.com/ Open to doing just around anything you need me to do. If you have an opening, or any advice, hit me up :D

Re:Ask HN: Who wants to be hired? (June 2022) on Wednesday June 01, 2022 @07:38PM (#31589518)

  Location: Vancouver, BC
  Remote: Yes
  Willing to relocate: No
  Technologies: JavaScript, Node.js, Express, Python, Poetry, Flask, Git, Java, and more
  Résumé/CV: https://drive.google.com/file/d/14oXe10o0N2EJdYOyCrMbV56WDVK_U3Ac/view?usp=sharing
  Email: [email protected]
Hi! I'm Liam, 16, and looking for a programming related internship/mentorship/job. I'm a snowboard instructor during the winter season, so I have some work experience. I've been programming for 6 years, but have never worked professionally in the field, mostly working on personal projects.

You can find some of them at https://www.liamilan.com/

Open to doing just around anything you need me to do. If you have an opening, or any advice, hit me up :D

Older »