Code Monkey home page Code Monkey logo

bee's People

Contributors

apt1002 avatar rrthomas avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dfischer

bee's Issues

More compact instruction encoding

Simple version of Mit's encoding (thanks, @apt1002 for reminding me of this option): reserve the bottom two bits of the opcode to indicate a rest-of-word instruction; otherwise, decode only one byte.

This can be used in a simple-minded way by only choosing one of two options: either use the whole word, or only use byte instructions. Actually requiring this seems attractive, because then byte opcodes in other than the first byte could use the full 8 bits, but this complicates the decoder.

To be able to get away with "only" 64 instructions, will first need traps ร  la Mit.

Fix use of 64-bit off_t on 32-bit systems

Currently this causes a compilation failure. One solution that would not complicate the relevant trap ABIs (LIBC_LSEEK, LIBC_RESIZE_FILE, LIBC_FILE_SIZE) would be to check return values from system calls and throw an error if the offset cannot be represented.

GDB support improvements

  • Add simulator for Bee.
  • Source-level debugging for Gnat/Forth. Either a) via ELF support, but then would Bee have to be wired into ld.so? (Investigate what that would take) or b) via GDB's JIT support (provide a .so that gdb can load and use to navigate compiled code to extract symbol and stack frame information).
  • Add support for gdb's file command.

Fail to build on Mac OS X

I am trying to build bee from source on Mac OS X (Monterey 12.2.1) using ./bootstrap and get the following failure:

Don't forget to
  - add "lib/Makefile" to AC_CONFIG_FILES in ./configure.ac,
  - mention "lib" in SUBDIRS in Makefile.am,
  - mention "-I m4" in ACLOCAL_AMFLAGS in Makefile.am,
  - mention "m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am,
  - invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC_C99,
  - invoke gl_INIT in ./configure.ac.
bootstrap: running: autoreconf --symlink --install
/Library/Developer/CommandLineTools/usr/bin/gm4: unrecognized option `--gnu'
Try `/Library/Developer/CommandLineTools/usr/bin/gm4 --help' for more information.
autom4te: error: /usr/bin/gm4 failed with exit status: 1
aclocal: error: autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1

I can build the distribution tarball fine.

GDB stub should use GDB's signal numbers

Thanks to Eli Zaretskii for raising this question. As it says in the GDB manual: "In the below the exact meaning of signal number is defined by the header include/gdb/signals.h in the GDB source code." So in other words I should be using signal codes from that header file, not native signal codes.

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.