News for hackers. Stuff that matters.
Re:Slope: A hackable hobby programming language by garren on Friday June 17, 2022 @05:11PM (#31784419)
It’s a lisp, so it’s eminently hackable - you can do everything with it, and simultaneously nothing ;p

I love lisps. Why choose slope over something like racket or maybe clojure(script)?

Re:Slope: A hackable hobby programming language by capableweb on Friday June 17, 2022 @05:37PM (#31784687)
> It’s a lisp, so it’s eminently hackable

Correct me if I'm wrong, but it's missing one vital lisp feature for making it actually hackable: macros!

Couldn't find anything about it in the docs and couldn't search the source code for it either, via their git webpage either.

Re:Slope: A hackable hobby programming language by dgb23 on Friday June 17, 2022 @06:22PM (#31785179)
Meta programming is still “trivial” (for the lack of a better word) in a lisp without using macros.
Re:Slope: A hackable hobby programming language by andsoitis on Friday June 17, 2022 @07:41PM (#31785890)
> Meta programming is still “trivial” (for the lack of a better word) in a lisp without using macros

is there not a whole class of problems that are not trivial if you cannot control evaluation of forms / expressions? this is one of the things (non-reader) macros provide.

Re:Slope: A hackable hobby programming language by a1369209993 on Friday June 17, 2022 @08:56PM (#31786362)
> if you cannot control evaluation of forms / expressions

Assuming quote works, you can do:

  (eval (macro-expand '(
  # rest of file goes here
  )))
which I think technically meets the standards for "trivial", albeit annoying.

(Edit: Although it'd have to be eval-with-macro-expand if you want proper first-class macros.)

Re:Slope: A hackable hobby programming language by dgb23 on Sunday June 19, 2022 @07:03AM (#31798211)
“Trivial” is the wrong word, but it’s fairly known/common to write an embedded interpreter. The line between interpreting and just plain programming is very blurry in a lisp.
Re:Slope: A hackable hobby programming language by sparkie on Friday June 17, 2022 @07:54PM (#31785982)
You can still somewhat control evaluation with quote and/or list.
Re:Slope: A hackable hobby programming language by creative_spirit on Sunday June 19, 2022 @09:13AM (#31799039)
I have limited experience with lisps, and for me a smaller language, that is easy to pick up, works well. I can finally do things in a lisp, without having to struggle with the full breadth and depth of the bigger guys (and I do not have to install e.g. jvm on my machine :). So for me it is a graceful way to work in a paradigm that I long like, but I somehow could not make my way to.
Re:Slope: A hackable hobby programming language by empressplay on Friday June 17, 2022 @05:32PM (#31784638)
It seems like it's halfway between those things and Logo.

So, simpler but with some modern paradigms thrown in to make it more 'respectable'...

Re:Slope: A hackable hobby programming language by sloum on Saturday June 18, 2022 @11:23AM (#31790642)
I would agree. Simple and old school, but with a dash of modern features was what I was going for. I used Logo a good bit when I was young, so I can appreciate the comparison.
Re:Slope: A hackable hobby programming language by creative_spirit on Saturday June 18, 2022 @09:13AM (#31789532)
Check what it says about the hobby language - it is not meant to attract huge crowds, so it does not need to be 'respectable'. For me it is good if it raises associations with Logo, though - as Logo was also providing way to computing for 'non-professionals' - thus keeping the fun and joy of computing.