Dotcl: Common Lisp Implementation on .NET
107 points
2 days ago
| 11 comments
| github.com
| HN
d-us-vb
3 hours ago
[-]
Dotcl sounds like a lisp macro that interprets TCL. :D
reply
jnpnj
3 hours ago
[-]
hehe. alternatively dotnil would have sounded closer to dotnet while hinting at lisp terminology and history
reply
anthk
1 hour ago
[-]
Given how simple TCL is you would probably write a parser in a day...

JimTCL (jimsh interpreter) is not 100% TCL compatible and I just used 'source qcomplex.tcl' from it's big brother TCL and now I can do complex number operations in the spot. With just a simple file, no libraries, no nothing.

reply
djha-skin
36 minutes ago
[-]
I have recently blogged that AI and Common Lisp don't mix, but I've come to the opposite conclusion lately. AI evens the playing field between large teams and single developers. Now all the lone wolves in cl will be able to do large things, like a .net implementation or a yaml parser. I heard one guy say he was using AI to write a c complete in common lisp. I wonder if AI was used here or not.
reply
SomeHacker44
4 hours ago
[-]
Awesome! Has a MonoGame integration sample. Am curious to see if it will work with Godot or Unity. New weekend project...
reply
Rochus
1 day ago
[-]
This is amazing. How long did it take you to implement it, i.e. reach that high level of Ansi test conformance? Have you been able to reuse concepts e.g. from ABCL?
reply
guenthert
2 hours ago
[-]
Yeah, pity that the early history seems to have been lost.
reply
register
1 hour ago
[-]
Kudos, this is what I was looking for. Time to add dynamic "scripting" to my .net projects.
reply
v9v
4 hours ago
[-]
There's also Bike for CL/.NET interop: https://github.com/Lovesan/bike
reply
cjbgkagh
2 hours ago
[-]
Neat, I see AOT, will this be able to target WASM? I’m guessing there will be a mode that doesn’t use reflection emit since AOT doesn’t support that? I would check myself but I’m away from my computer.
reply
aboardRat4
2 hours ago
[-]
Does it have tail recursion?
reply
runevault
1 hour ago
[-]
If nothing else dotnet has TCO IL operations (C# doesn't compile down to them last I knew but F# does) so in theory shouldn't be hard to add.
reply
guenthert
2 hours ago
[-]
I'm pretty sure it does. I would even think that it tries to optimize such, as a recent check-in comment claims improvements of TCO.
reply
2ndorderthought
18 minutes ago
[-]
A lisp without tail recursion would be a sad thing.
reply
pjmlp
4 hours ago
[-]
Great! A new toy on my toolbox.

Kudos on the implementation.

reply
Pay08
3 hours ago
[-]
I was just wondering the other day if this exists. Great timing.
reply
freedomben
4 hours ago
[-]
Unfortunate near naming collision for people using doctl (the Digital Ocean CLI). I can foresee a lot of shell muscle memory causing me to use the wrong tool :-D

Really cool project! Love seeing CL work it's way into as many envs as possible

reply