Better HN
topnewbestaskshowjobs
Log inSign up

liamilan

681 karma · joined Aug 29, 2018 (8y ago) · 49 submissions

Made in Canada.

https://liamilan.com

Submissions

comment 3mo ago · link · parent

Brothers think alike ;)

https://news.ycombinator.com/item?id=17871313

2.

Show HN: Implementing and Training a Transformer and Tokenizer in Rust(github.com ↗)

2 points · by liamilan · 1y ago · discuss

3.

Show HN: Terminal3d – View 3D Models in Your Terminal, Built with Rust(github.com ↗)

17 points · by liamilan · 2y ago · 1 comment

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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!

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

  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: liamilanyvr@gmail.com
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

comment 2y ago · link · parent

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

9.

Show HN: The Periodic Table of Electron Orbitals(liam-ilan.github.io ↗)

11 points · by liamilan · 3y ago · 3 comments

10.

Show HN: Tiny Syntax Highlighter(github.com ↗)

3 points · by liamilan · 3y ago · 1 comment

11.

Show HN: A Simple Show HN TUI Client in 93 Lines of Crumb(github.com ↗)

2 points · by liamilan · 3y ago · 1 comment

12.

Show HN: 34 X 34 Crumb Script Renders a Spinning Cube(github.com ↗)

1 points · by liamilan · 3y ago · discuss

13.

Minor Issue(github.com ↗)

1 points · by liamilan · 3y ago · discuss

comment 3y ago · link · parent

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 :).

comment 3y ago · link · parent

Thanks!

comment 3y ago · link · parent

Yeah actually, stay tuned! :D

comment 3y ago · link · parent

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

18.

Show HN: Going into freshman year, figured I should build an interpreter

138 points · by liamilan · 3y ago · 79 comments

19.

Show HN: Visualizing the Impossible – How to Simulate Electrons(liam-ilan.github.io ↗)

5 points · by liamilan · 3y ago · discuss

20.

Show HN: My first C project – An interpreter built with WASM and Emscripten(liam-ilan.github.io ↗)

4 points · by liamilan · 3y ago · discuss

21.

Show HN: Visualizing the Impossible(liam-ilan.github.io ↗)

1 points · by liamilan · 3y ago · discuss

comment 3y ago · link · parent

  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: liamilanyvr@gmail.com
Hi! I'm Liam, just graduated from high school, 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

23.

Show HN: What Electrons Look Like(liam-ilan.github.io ↗)

10 points · by liamilan · 3y ago · discuss

24.

Show HN: Spinning Cube in 45 lines, 45 Chars Each(github.com ↗)

1 points · by liamilan · 4y ago · discuss

comment 4y ago · link · parent

  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: liamilanyvr@gmail.com
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

comment 4y ago · link · parent

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: liamilanyvr@gmail.com

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

12