Hacker Newsnew | past | comments | ask | show | jobs | submit | yichiban's commentslogin

Good point!

`open(File, Mode, Stream, Options)` and other builtin predicates are available if you construct an interpreter with `p := prolog.New(nil, nil)`.

On the other hand, `p := new(prolog.Interpreter)` constructs a sandbox interpreter without any builtin predicates. You can explicitly register builtin predicates as you wish.


Thank you! Our entire team of one is glad to hear that!


I'll keep an eye on your card game, then! Let me know in GitHub issues if you have any questions.


Thank you for posting this, @triska!


Totally missed it! Yet, I wanted it to be referred to as just `prolog` in the host code just like `database/sql` being referred to as `sql`.


Good job! I totally agree with the author on this:

> So I thought, "What if I could combine all these things and start writing markdown documents for my technical designs -- complete with ASCII art diagrams -- that I could then prettify for presentation purposes?"

If it's intended to be embedded in Markdown documents and published as web sites, it could be a web component.

I made an experimental one [0] and here's a demo [1].

I'm too lazy to follow through so hoping someone to make a full-fledged web component for it.

[0] https://www.webcomponents.org/element/ichiban/ascii-diagram [1] https://www.webcomponents.org/element/ichiban/ascii-diagram/...


That's pretty cool. This demo is convincing me to look at using them in my own projects


I use an ARC'TERYX ARRO 22 for years. Water proof. Good for carrying a laptop.

http://www.arcteryx.com/product.aspx?country=jp&language=en&...


Location: Tokyo, Japan

Remote: Yes

Willing to relocate: No

Technologies: Ruby on Rails, JavaScript, HTML5/CSS3, Common Lisp, OCaml, Java, MySQL, AWS

Résumé/CV: https://www.linkedin.com/in/yutakaichibangase

Email: $ ruby -e 'puts "eWljaGliYW5AZ21haWwuY29t".unpack("m")'


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: