[LLVMbugs] [Bug 136] NEW: Build A Sample Source Language For LLVM

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Wed Nov 19 13:22:50 PST 2003


           Summary: Build A Sample Source Language For LLVM
           Product: Test Suite
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Programs Tests
        AssignedTo: rspencer at x10sys.com
        ReportedBy: rspencer at x10sys.com
                CC: sabre at nondot.org

As an enhancement to LLVM and a vehicle for both learning LLVM and (possibly)
testing LLVM through an alternate source language, I'm building a front end for
a very simple language named Stacker. It is somewhat Forth based but doesn't
nearly have the expressive power of ANS Forth. The syntax will be familiar to
Forth programmers but the capabilities very limiting.

The initial version will have the following restrictions:
* Input only from stdin
* Output only to stdout
* Only one stack, fixed size
* No floating point support
* Very restricted set of native operations (arithmetic, stackops, I/O).
* No interpretation mode, just compiles.

As such, the language is barely higher level than LLVM Assembly. 

The point is to produce a simple language with a simple grammar and lexical
analyzer that demonstrates how to use LLVM classes to generate bytecode and
execute them with JIT, etc.

This "bug" (enhancement) is provided just to track the work, design, patches,
extensions, etc.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list