ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
andyjpb has quit [Ping timeout: 268 seconds]
<jcowan> OO and FP are specifically duals. "Functions are poor man's objects, but then again objects are poor man's functions."
bitmapper has quit [Ping timeout: 265 seconds]
freemint has quit [Ping timeout: 245 seconds]
jcowan has left #picolisp [#picolisp]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
freemint has joined #picolisp
<freemint> Regenaxer, question about micropicolisp. When i have no OS beneath me (or one who doesn't support file systems) can i still run it? Where do i load the code to execute from?
<Regenaxer> You mean mini, right? It is possible with modifications
<Regenaxer> Some people used it in embedded systems
<Regenaxer> I did too, on STM32
<freemint> Are there modifications public?
<Regenaxer> I think so
<Regenaxer> They even sold it with hardware
<freemint> intersting
<Regenaxer> I ran it on STM32 with no modifications iirc
<Regenaxer> Stdio is supported on the toolkits
<freemint> Can you tell me where the application was stored?
<Regenaxer> Mostly in ROM
<Regenaxer> thus needs only a few KiB of RAM
<Regenaxer> well, 64 at least iirc
<Regenaxer> 100 is better
<Regenaxer> I don't have a link, I think you can find
<Regenaxer> also in the mailing list
<Regenaxer> "Sergio Sorrenti" in Italy, Raman in India
<freemint> And there was some library which gave fileIO access to parts of them ram from the hersteller?
<Regenaxer> I don't remember
<Regenaxer> I think I used only console I/O
<Regenaxer> repl
<Regenaxer> Try to search in the Web
<freemint> oh no big problem, but it looks like that makes miniPicolisp not a first choice. Can you recommend a small forth?
<Regenaxer> No idea
<Regenaxer> console I/O is a problem?
<Regenaxer> "that" makes ...
<freemint> Serial is kinda unreliable, have to restart it multiple times for it to work once
<Regenaxer> Same with Forth then
<freemint> maybe there are some forth's that can be compiled and linked next to an elf file
<Regenaxer> yes, gnu forth
<Regenaxer> What do you want to do?
<freemint> i take a look
<Regenaxer> ELF but no file system?
<Regenaxer> no OS?
<Regenaxer> I think gnu forth is a lot bigger than miniPicoLisp though
<Regenaxer> It all depends what you want to do
<freemint> finding a demo for a no MMU, no FPU, micro controller to which i port an real-time OS to get some C and low level programming experience.
<Regenaxer> So you need C, not Lisp or Forth
<Regenaxer> it is everwhere
<freemint> Yeah but on top of the OS i want to run something.
<freemint> "Something" could be: hey i can execute some highlevel code while the interrupts still happen on time
<Regenaxer> Forth is the most flexible and interesting, but neither C nor ELF involved
<Regenaxer> no Linker, it is self-contained
<Regenaxer> and a full OS in itself
<Regenaxer> typically in 8 KiB
<freemint> mhh, then i will have to look if i can get the most basic file support working somehow and pick PicoLisp.
<freemint> *minipicolisp
<Regenaxer> On a real small system there are no files typically
<Regenaxer> if you need an ssd, you could pick a RasPi
<Regenaxer> I think aw- can help you with tips
<freemint> Oh the board i am targetting is fixed.
<Regenaxer> ok
<freemint> It is my "port to open source cpu" project
<Regenaxer> and it has mass storage?
<freemint> Yes
<Regenaxer> I would definitely start with Forth then
<Regenaxer> But I don't know any current one
<freemint> ok thanks for the pointer
<Regenaxer> aka dangling pointer ;)
freemint has quit [Ping timeout: 245 seconds]
freemint has joined #picolisp
freemint has quit [Remote host closed the connection]
freeemint has joined #picolisp
xkapastel has joined #picolisp
freeemint has quit [Remote host closed the connection]
freemint__ has joined #picolisp
freemint__ has quit [Ping timeout: 245 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
freemint has joined #picolisp
andyjpb has joined #picolisp
xkapastel has joined #picolisp
orivej has quit [Ping timeout: 246 seconds]
karswell has quit [Remote host closed the connection]
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
xkapastel has quit [Quit: Connection closed for inactivity]
<freemint> viaken, thank you that seems actually portable for a new arch
freemint has quit [Remote host closed the connection]
freemint has joined #picolisp
orivej has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]