Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
108 lines (70 sloc) 2.96 KB
XSharp.x86
"EAX" -> Reg
types then map to compile
Asm.Emit(Asm.Op.Mov, "EAX", 0);
inside use .tostring + $""
Kudzu ----------------------------------------------------
*** PrivateAssets to G3
Enrique 500
Change XSC to use Clogger
Parser
-SyntaxMap - can be circular
-UI for map, read from file? and code?
-Multiline comments
-Feedback from line to tell it "more" - use /* for both ends
-Call() - integrate into pre process so all passed later must be tokens
-Call(Params, can be regs or memroy or labelws or const..)
-function(params)
-/! Cosmos.Plug - params?
-Direct plugs - ie in .xs to types
Plugins - Use XSharp.Build.Plugins
pre/post directives, separate api than normal pre/post
-as namespaces - process for - ie Cosmos.directive
pre/post as plugins
-Emit into ONE .asm file. If output file is specified, all goes to one. Else does one .asm per .xs as now. Also append optino to existing .asm
Publicity
Docs, Videos, website, Microsoft, C9
---
Change all namespace in .xs source files to:
/! namespace ....
EmitUserComments
-Take from property first
-Each .xs can turn on or off with directive, or use inherit. If no directive, then inherit
-Settings only apply for that .xs and reset to the master property when new .xs is processed
-Same for .EmitSourceCode
.EmitSourceCode comments - if on then above each section it should emit a comment in the .ASM file showing the X# source.
/! include <file ref>
Does an inline include of the reffed file.
X# plugs
X# still has that hard ref to INTs last known address
X# method arguments
X# local vars - Zed style? . .. ..
Asm debugging, modularize DS and then Cosmos expands it. Remote over serial too
X# can be in C# with variable use etc through stack or special area for single X# calls
Change IL2CPU to use X# instead of XSharp.Assembler
DebugStub ReferenceHelper - Better way? Not needed if we merge probably, needed at all beyond?
Convert DebugStub as necessary
Move all X# code into Cosmos.CPU except that which is used as a plug to .NET Framework (that goes to CpuPlug, later)
CpuPlug
Redo parser (careful, need to work it out first).
Possibly can be done earlier as part of CXSC
To replace entirely current X# usage.
Remove old syntax and support after all ported
Separate out X# into separate repo when it can stand alone.
VS Code support (Jp2masa already has code, work with him and merge it in)
X64, ARM etc
UEFI integration
Charles -------------------------------------------------
VSIP
-Change VS items into X# / X Sharp
name/section
-X# Project Type
Make X# into a nuget pkg so users can find it easily
jp2masa ------------------------------------------
XSC
-append/output params (see program.cs)
-Expand program.cs etc in XSC to allow compiling from resources in .dll files
Can you modify our build process to to call XSC separately from IL2CPU? This will separate it out, and also let us handle plugins to XSC easier.
Arawn ------------------------------------------
UEFI
Move stuff to XSharp.Build