From 0b269f32dd9b8d349f94793dad44e728473e9f0a Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Thu, 31 Oct 2013 15:35:11 +0100 Subject: First commit ; includes first TP and minijazz compiler --- tp1/test/fulladder.mj | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tp1/test/fulladder.mj (limited to 'tp1/test/fulladder.mj') diff --git a/tp1/test/fulladder.mj b/tp1/test/fulladder.mj new file mode 100644 index 0000000..c4b6b0e --- /dev/null +++ b/tp1/test/fulladder.mj @@ -0,0 +1,4 @@ +main(a,b,c) = (s, r) where + s = (a xor b) xor c; + r = (a and b) or ((a xor b) and c); +end where \ No newline at end of file -- cgit v1.2.3