Giter Club home page Giter Club logo

mes-m2's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Jeremiah Orians
  • ๐Ÿ‘€ Iโ€™m interested in bootstrapping the world
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on bootstrapping
  • ๐Ÿ“ซ How to reach me: join me on IRC on #[email protected]

mes-m2's People

Contributors

doraskayo avatar fosslinux avatar gbrlwck avatar janneke avatar oriansj avatar schierlm avatar snnw avatar stikonas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mes-m2's Issues

Making mescc work on slow_lisp

I know @oriansj probably already knows all this but just documenting it.

From just removing stuff out of mescc.scm to try to make it "run", I've found the following things still need to be added to the slow_lisp branch to make it work:

Haven't investigated much further yet but it seems to hang.

How to compile hello-world with mes-m2?

I'm trying to compile a hello-world with mes-m2 by running these commands:

$ git clone https://github.com/oriansj/mes-m2
$ cd mes-m2
$ make CFLAGS=-m32 mes-m2
$ (echo '#include <libmes-mini.h>'
   echo 'int main(int argc, char **argv) { return eputs("Hello, World"); }'
  ) >hello.c
$ bin/mes-m2 scripts/mescc.scm hello.c
error: unrecognized switch scripts/mescc.scm
...

I was trying some other command-line flags to mes-m2, but nothing worked.

What is the correct command to run to compile hello-world with mes-m2?

Please note that I'm a newbie to Mes and M2-Planet. I haven't run Guile, Mes or any other Scheme implementation in my life. I have experience with standard Unix tools (e.g. Make and GCC).

changes to readme

I did a bootstrap using stage0-posix and had a few difficulties.

  • The readme did not mention the env vars MES_ARENA , MES_MAX_ARENA, MES_STACK. They seemed necessary.

  • The correct command for mes-m2 was:

MES_ARENA=20000000
MES_MAX_ARENA=20000000
MES_STACK=6000000
export MES_ARENA  MES_MAX_ARENA MES_STACK
$ ./bin/mes --no-auto-compile -L ../nyacc-1.00.2/module/  -e main scripts/mescc.scm -I include -v -S scaffold/exit-42.c
parsing: input
compiling: input
    :main
dumping: exit-42.s
M1: functions
    :main
M1: globals

(This differs because -L module was removed)

  • The correct command for guile was:
guile --no-auto-compile -L ../nyacc-1.00.2/module/ -L module -e main scripts/mescc.scm -I include -v -S scaffold/exit-42.c

(This differs because it explains nyacc must be added to the module path)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.